home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 4 / BBS in a Box - Macintosh - Volume IV (January 1992) (BBS in a Box).iso / Files / MacTechNotes / MacTN files by date next >
Encoding:
Text File  |  1991-11-17  |  160.5 KB  |  3,071 lines  |  [TEXT/QED1]

  1.  Name  =  TN.300.My Life as a ... (MW)
  2.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.300.My Life as a ... (MW)
  3.  Size: 12K         Date: 9/28/91         Version: 
  4.  AMUG file information and description:
  5.  Technical Note #300 - This Technical Note discusses the PascalObject base 
  6. class, used, for instance, with MacApp programming. The Technical Note 
  7. describes how to write PascalObject derived classes that work with both 
  8. Object Pascal and C++ code linking. It also describes the current 
  9. restrictions and bugs with writing C++ code using PascalObject as the base 
  10. class. This Technical Note is based on MacApp 2.0(.1), MPW 3.2 and MPW C++ 
  11. 3.1.
  12.  
  13.  Name  =  TN.304.Update Perils(MW)
  14.  Path =  AMUG CD:Files:MacTechNotes:TN.301.350:TN.304.Update Perils(MW)
  15.  Size: 14K         Date: 9/28/91         Version: 
  16.  AMUG file information and description:
  17.  Technical Note #304 - This Technical Note discusses potential problems when
  18. pending update events for windows behind modal dialogs are not serviced.  
  19. This note also documents some new System 7 Dialog Manager calls.
  20.  
  21.  Name  =  TN.303.PurgeProc Note(MW)
  22.  Path =  AMUG CD:Files:MacTechNotes:TN.301.350:TN.303.PurgeProc Note(MW)
  23.  Size:  6K         Date: 9/28/91         Version: 
  24.  AMUG file information and description:
  25.  Technical Note #303 - This Technical Note discusses the use of the 
  26. purgeProc field of an application’s heap zone. Most applications will never
  27. need to use a purgeProc. However, if your application requires the ability 
  28. to maintain purgeable handles containing data, or you need to have special 
  29. notification when a certain handle is purged, a purgeProc might help you.
  30.  
  31.  Name  =  TN.302.Help For Movable(MW)
  32.  Path =  AMUG CD:Files:MacTechNotes:TN.301.350:TN.302.Help For Movable(MW)
  33.  Size:  6K         Date: 9/28/91         Version: 
  34.  AMUG file information and description:
  35.  Technical Note #302 - This Technical Note describes the process by which an
  36. application can remap the Help Manager 'hmnu' resource while a movable 
  37. modal dialog box is on the screen. The Help Manager handles the case for 
  38. modal dialog boxes but punts in the case of movable modal dialog boxes. The
  39. following information will help you get the correct interface performance.
  40.  
  41.  Name  =  TN.301.File Sharing and Shared
  42.  Path =  AMUG CD:Files:MacTechNotes:TN.301.350:TN.301.File Sharing and Shared
  43.  Size:  9K         Date: 9/28/91         Version: 
  44.  AMUG file information and description:
  45.  Technical Note #301 - This Note describes modifications to the existing 
  46. File Manager routines, PBGetCatInfo, PBHGetDirAccess, PBHSetDirAccess, 
  47. PBHSetFLock and PBHRstFLock, when used on volumes prepared by Macintosh 
  48. System 7 File Sharing.
  49.  
  50.  Name  =  TN.285.GetPhysical
  51.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.285.GetPhysical
  52.  Size: 20K         Date: 5/18/91         Version: 
  53.  AMUG file information and description:
  54.  #285 Coping With VM and Memory Mappings. Revised by Craig Prouse April 
  55. 1991 Written by Craig Prouse February 1991. The purpose of this Note is 
  56. twofold.  First, it describes in detail how to use the GetPhysical routine.
  57. This routine is critical to the support of alternate bus masters on certain
  58. machines without Virtual Memory (VM) and all machines with VM. Included is
  59. an ancillary discussion of several closely-related VM routines. Second, it
  60. reiterates a number of issues important to VM compatibility and elucidates 
  61. some of the deeper VM issues of which specialized developers should be 
  62. aware.
  63.  
  64.  Name  =  TN.283.A/UX System Calls
  65.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.283.A/UX System Calls
  66.  Size: 21K         Date: 5/18/91         Version: 
  67.  AMUG file information and description:
  68.  #283 A/UX System Calls From Macintosh Software. Revised by Anathan 
  69. Srinivasan & Kent Sandvik January 1991. Written by Rob M. Smith, B. W. 
  70. Hendrickson & Dave Radcliffe August 1990. This Technical Note discusses how
  71. to make A/UX system calls from applications developed in the Macintosh 
  72. environment.  This is useful to anyone porting an existing Macintosh driver
  73. or application to work on A/UX as well. Changes since August 1990. Added 
  74. information about how to make use of fork() system calls under MultiFinder,
  75. as well as how various A/UX system calls behave under the MultiFinder 
  76. emulation mode. 
  77.  
  78.  Name  =  TN.229.A/UX Compatibility
  79.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.229.A/UX Compatibility
  80.  Size: 12K         Date: 5/18/91         Version: 
  81.  AMUG file information and description:
  82.  #229 A/UX 2.0 Compatibility Guidelines. Revised by Kent Sandvik &  B. 
  83. Winston Hendrickson. February 1991. Revised by B. Winston Hendrickson & 
  84. Dave Radcliffe June 1990. Written by Dave Radcliffe April 1989. This 
  85. Technical Note describes details of the A/UX 2.0 implementation of which 
  86. developers should be aware, so that their Macintosh applications also work 
  87. properly under A/UX. Changes since April 1989. This Note formerly 
  88. described A/UX 1.1 Toolbox Bugs, but has been completely rewritten to cover
  89. A/UX 2.0 compatibility. Changes since June 1990. Changes due to A/UX 
  90. 2.0.1, also added some new important issues.
  91.  
  92.  Name  =  TN.217.Font File Icons
  93.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.217.Font File Icons
  94.  Size:  5K         Date: 5/18/91         Version: 
  95.  AMUG file information and description:
  96.  #217 Where Have My Font Icons Gone? Revised by Pete “Luke” Alexander April 
  97. 1991. Written by Pete “Luke” Alexander December 1988. This Technical
  98. Note discusses why you should not link directly from your font files to the
  99. font icons provided by LaserWriter driver 5.2 and later. Changes since 
  100. December 1988. Added some useful tips and described the method required to
  101. bundle an icon to your font file.
  102.  
  103.  Name  =  TN.186.Lock, Unlock the Range
  104.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.186.Lock, Unlock the Range
  105.  Size:  8K         Date: 5/18/91         Version: 
  106.  AMUG file information and description:
  107.  #186 - Lock, Unlock the Range. This Technical Note discusses the 
  108. _PBLockRange and _PBUnlockRange routines; how they act on local and shared 
  109. volumes and why you should not set the ioPosMode field to fsFromLEOF in the
  110. parameter block for those routines when accessing a file on an AppleShare 
  111. volume. Changes since April 1988:  Added information on how _PBLockRange 
  112. and _PBUnlockRange really work.
  113.  
  114.  Name  =  TN.170.HyperCard Format
  115.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.170.HyperCard Format
  116.  Size:  4K         Date: 5/18/91         Version: 
  117.  AMUG file information and description:
  118.  #170 HyperCard File Format. Revised by jeremy j. bornstein, death dwarf 
  119. of minraud February 1991. Written by Chris Knepper November 1987
  120. This Technical Note formerly discussed the proprietary nature of the 
  121. HyperCard file format and Apple’s policy not to license it. Changes since 
  122. March 1988:  Merged contents into Technical Note #168, HyperCard And You 
  123. Economy Edition. This Note formerly discussed the proprietary nature of the
  124. HyperCard file format and Apple’s policy not to license it.  This 
  125. information has been updated for HyperCard 2.0 under Claris and integrated 
  126. into Technical Note #168, HyperCard And You - Economy Edition.
  127.  
  128.  Name  =  TN.169.HyperCard Anomalies
  129.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.169.HyperCard Anomalies
  130.  Size:  4K         Date: 5/18/91         Version: 
  131.  AMUG file information and description:
  132.  #169 HyperCard 1.0.1 And 1.1 Anomalies. Revised by Jeremy J. Bornstein, 
  133. death dwarf of minraud February 1991. Written by Chris Knepper November 
  134. 1987. This Technical Note formerly described some HyperCard anomalies 
  135. between HyperCard 1.0.1 and 1.1. Changes since March 1988. Merged contents
  136. into Technical Note #168, HyperCard And You: Economy Edition.
  137.  
  138.  Name  =  TN.168.HyperCard and You
  139.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.168.HyperCard and You
  140.  Size: 17K         Date: 5/18/91         Version: 
  141.  AMUG file information and description:
  142.  #168 HyperCard And You - This Technical Note describes some HyperCard 
  143. anomalies with which developers should be familiar when developing 
  144. stackware, and it documents differences between HyperCard versions where 
  145. appropriate. Changes since November 1987 - Consolidated Technical Notes 
  146. 168, HyperCard 'snd ' Resources; 169, HyperCard 1.0.1 and 1.1 Anomalies; 
  147. and 170, HyperCard File Format while adding and updating material with 
  148. regard to HyperCard 2.0 and condensing or obsoleting information on bugs 
  149. which have been addressed.
  150.  
  151.  Name  =  TN.160.Key Mapping
  152.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.160.Key Mapping
  153.  Size: 13K         Date: 5/18/91         Version: 
  154.  AMUG file information and description:
  155.  #160 - Key Mapping. Revised by Jim Luther, Peter Edberg, & Imran Sayeed 
  156. February 1991. Written by Cameron Birse September 1987. This Technical 
  157. Note describes the Macintosh family key code mapping scheme when running 
  158. System file 4.1 and later. This Note also provides a “safe” method for 
  159. remapping keyboards. Changes since October 1990 - Added a section on how 
  160. 'KMAP' resources are matched to specific ADB keyboard types and a section 
  161. on the original Macintosh and Macintosh Plus keyboards.
  162.  
  163.  Name  =  TN.144.Color Monitor Connection
  164.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.144.Color Monitor Connection
  165.  Size:  8K         Date: 5/18/91         Version: 
  166.  AMUG file information and description:
  167.  #144 - Macintosh Color Monitor Connections. Revised by Jim Luther & Wayne 
  168. Correia February 1991. Written by Mark Baumwell July 1987. This Technical 
  169. Note describes how to connect the Macintosh II Video Card, Macintosh IIci 
  170. built-in video, and Macintosh LC video to third-party monitors. Changes 
  171. since February 1990 - Added pinout description for the Macintosh LC 
  172. external video connector and a Macintosh LC to VGA monitor adapter cable.  
  173. Standardized signal names throughout Note.
  174.  
  175.  Name  =  TN.075.Multidisk Installer+
  176.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.075.Multidisk Installer+
  177.  Size:  6K         Date: 5/18/91         Version: 
  178.  AMUG file information and description:
  179.  #75 - Apple’s Multidisk Installer. Revised by - Jon Zap April 1991. Written
  180. by Scott Douglass March 1986. This Technical Note documents Apple’s 
  181. Multidisk Installer, and it is in addition to separate Installer 
  182. documentation which provides the details of writing scripts. Changes since 
  183. February 1991 Revised information about where to find the Multidisk 
  184. Installer reference suite.
  185.  
  186.  Name  =  TN.293.Excellent CD Notes
  187.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.293.Excellent CD Notes
  188.  Size: 13K         Date: 4/28/91         Version: 
  189.  AMUG file information and description:
  190.  #293 Most Excellent CD Notes. Written by James Beninghaus February 1991
  191. This Technical Note discusses issues concerning the use of the AppleCD SC 
  192. drive, the Apple CD-ROM device driver, and the Foreign File Access software
  193. extension.
  194.  
  195.  Name  =  TN.292.Bus Error Handlers
  196.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.292.Bus Error Handlers
  197.  Size: 11K         Date: 4/28/91         Version: 
  198.  AMUG file information and description:
  199.  #292 Bus Error Handlers. Written by Wayne Meretsky & Rich Collyer February 
  200. 1991. This Technical Note discusses bus errors and how applications and 
  201. drivers should deal with them.
  202.  
  203.  Name  =  TN.291.CMOS On LC PDS
  204.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.291.CMOS On LC PDS
  205.  Size:  4K         Date: 4/28/91         Version: 
  206.  AMUG file information and description:
  207.  #291 CMOS On Macintosh LC PDS. Written by Paul Baker & Rich Collyer 
  208. February 1991. This Technical Note provides PDS card developers with some 
  209. important information about making PDS cards for the Macintosh LC.
  210.  
  211.  Name  =  TN.290.WDEF and wDraw
  212.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.290.WDEF and wDraw
  213.  Size:  4K         Date: 4/28/91         Version: 
  214.  AMUG file information and description:
  215.  #290 Custom WDEF and wDraw. Written by Vincent Lo February 1991. This 
  216. Technical Note explains why custom window definition functions may not
  217. respond to a wDraw message from the system (if you follow the documentation
  218. in Inside Macintosh).
  219.  
  220.  Name  =  TN.289._CopyBits & GC QuickDraw
  221.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.289._CopyBits & GC QuickDraw
  222.  Size:  7K         Date: 4/28/91         Version: 
  223.  AMUG file information and description:
  224.  #289 Deaccelerated _CopyBits & 8•24 GC QuickDraw. Written by Guillermo A. 
  225. Ortiz February 1991. This Technical Note discusses conditions that may 
  226. cause _CopyBits to slow down when QuickDraw acceleration is on via the 
  227. Apple 8•24 GC Display Card.
  228.  
  229.  Name  =  TN.288.NuBus Block Transfers
  230.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.288.NuBus Block Transfers
  231.  Size: 11K         Date: 4/28/91         Version: 
  232.  AMUG file information and description:
  233.  #288 NuBus Block Transfer Mode sResource Entries. Written by Guillermo 
  234. Ortiz February 1991. This Technical Note describes the sResource entries 
  235. needed in a declaration ROM to inform NuBus™ masters when a board is 
  236. capable of receiving or sending block transfers.
  237.  
  238.  Name  =  TN.287.Spare A Block
  239.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.287.Spare A Block
  240.  Size: 13K         Date: 4/28/91         Version: 
  241.  AMUG file information and description:
  242.  #287 Hey Buddy, Can You Spare A Block? Written by Philip D. L. Koch, Jim 
  243. Reekes, & Kenny Tung February 1991. This Technical Note discusses a new 
  244. feature of the System Software 7.0 Disk Initialization Package—bad block 
  245. sparing.
  246.  
  247.  Name  =  TN.286.GPi The Reliable Way
  248.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.286.GPi The Reliable Way
  249.  Size:  9K         Date: 4/28/91         Version: 
  250.  AMUG file information and description:
  251.  #286 - The Serial General-Purpose Input (GPi). Written by Craig Prouse 
  252. February 1991. This Technical Note discusses the latest supported methods 
  253. for reading, validating, and configuring the GPi serial input across all 
  254. members of the Macintosh family.
  255.  
  256.  Name  =  Technical Notes Stack 3.2.1
  257.  Path =  AMUG CD:Files:MacTechNotes:Technical Notes Stack:Technical Notes Stack 3.2.1
  258.  Size:983K         Date: 2/15/91         Version: 3.2.1
  259.  AMUG file information and description:
  260.  Technical Notes Stack 3.2.1 is a complete listing of all Tech Notes in 
  261. hypercard format.
  262.  
  263.  Name  =  Tech Note PICTs.dd
  264.  Path =  AMUG CD:Files:MacTechNotes:Technical Notes Stack:Tech Note PICTs.dd
  265.  Size:187K         Date: 2/15/91         Version: 
  266.  AMUG file information and description:
  267.  Tech Note PICTs.dd contains various picts for the Tech notes provided in 
  268. this section.
  269.  
  270.  Name  =  TN Stack Fonts
  271.  Path =  AMUG CD:Files:MacTechNotes:Technical Notes Stack:TN Stack Fonts
  272.  Size: 19K         Date: 2/15/91         Version: 
  273.  AMUG file information and description:
  274.  TN Stack Fonts contains the necessary fonts for running your TN Stack.
  275.  
  276.  Name  =  TN Indices 10-90.dd
  277.  Path =  AMUG CD:Files:MacTechNotes:TN Indices 10-90.dd
  278.  Size:116K         Date: 2/15/91         Version: 
  279.  AMUG file information and description:
  280.  TN Indices 10-90.dd is the Technotes indices from 10-91.
  281.  
  282.  Name  =  TN.284.IOP Diffs Under A/UX
  283.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.284.IOP Diffs Under A/UX
  284.  Size:  6K         Date: 2/15/91         Version: 
  285.  AMUG file information and description:
  286.  TN.284.IOP Diffs Under A/UX - This Technical Note discusses use of the 
  287. Macintosh IIfx IOP-based serial driver under A/UX, especially under certain
  288. error conditions which cause it to perform differently than documented in 
  289. termio(7).  (The SCC driver, used on non-IOP machines, conforms to 
  290. termio(7) in all cases.)  References to “the driver” herein refer to the 
  291. IOP-based serial driver, seriop.c.
  292.  
  293.  Name  =  TN.282.Smear Tactics
  294.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.282.Smear Tactics
  295.  Size:  5K         Date: 2/15/91         Version: 
  296.  AMUG file information and description:
  297.  TN.282.Smear Tactics - This Technical Note discusses a feature of the 
  298. current Macintosh hardware which will not be supported in the future.  
  299. Macintosh hardware developers and driver writers should be aware of this 
  300. limitation as it affects current and future products.
  301.  
  302.  Name  =  TN.281.Multiple Inheritance
  303.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.281.Multiple Inheritance
  304.  Size: 10K         Date: 2/15/91         Version: 
  305.  AMUG file information and description:
  306.  TN.281.Multiple Inheritance - This Technical Note answers a common question
  307. about MPW C++:  “Why doesn’t HandleObject support multiple inheritance?”  
  308. It does this by giving a brief overview of how multiple inheritance is 
  309. implemented in MPW C++.
  310.  
  311.  Name  =  TN.280.MacApp Bugs 3.0
  312.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.280.MacApp Bugs 3.0
  313.  Size: 51K         Date: 2/15/91         Version: 
  314.  AMUG file information and description:
  315.  TN.280.MacApp Bugs 3.0 - This Technical Note describes the latest 
  316. information about bugs or unexpected “features” in MacApp.  Where possible,
  317. solutions and fixes are noted.  DTS intends this Note to be a complete list
  318. of all known bugs in MacApp and will update it as old bugs are fixed or new
  319. ones appear.  If you have encountered a bug or unexpected feature which is 
  320. not described here, be sure to let DTS know.  Specific code examples and 
  321. suggested fixes are useful.
  322.  
  323.  Name  =  TN.279.LDEF Madness
  324.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.279.LDEF Madness
  325.  Size:  6K         Date: 2/15/91         Version: 
  326.  AMUG file information and description:
  327.  TN.279.LDEF Madness - This Technical Note uncovers a problem with writing 
  328. Pascal list definition procedures and two (yes, count  ’em, two) different 
  329. methods to work around it.
  330.  
  331.  Name  =  TN.278._PBClose the Barn Door
  332.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.278._PBClose the Barn Door
  333.  Size:  5K         Date: 2/15/91         Version: 
  334.  AMUG file information and description:
  335.  TN.278._PBClose the Barn Door - You may get the idea when implementing 
  336. device drivers that _PBClose is superfluous.  After all, if you have a 
  337. resident driver for a NuBus™ video board, the only time your driver is not 
  338. needed is if the operating system is going away.  It might seem that 
  339. nothing important can happen after the operating system goes away, so why 
  340. bother with _PBClose?  Well, it turns out a lot can happen, and this Note 
  341. tells you why it is important to implement a Close (_PBClose) routine.
  342.  
  343.  Name  =  TN.277.Time Space _CopyBits
  344.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.277.Time Space _CopyBits
  345.  Size: 25K         Date: 2/15/91         Version: 
  346.  AMUG file information and description:
  347.  TN.277.Time Space _CopyBits - This Technical Note describes the various 
  348. factors that can influence the speed of _CopyBits so that developers can 
  349. set up conditions to achieve the best performance for the particular 
  350. situation.
  351.  
  352.  Name  =  TN.276.Gimmie Depth or Death
  353.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.276.Gimmie Depth or Death
  354.  Size:  8K         Date: 2/15/91         Version: 
  355.  AMUG file information and description:
  356.  TN.276.Gimmie Depth or Death - This Technical Note describes two new system
  357. calls that allow an application to change the depth and flags for a given 
  358. device and also check whether a device supports a particular depth and 
  359. flags setting.  Apple provides these calls to give developers a better way 
  360. to help users make changes when they consider it appropriate.  Abusive use 
  361. of these calls is a sure way to guarantee that the Thought Police come 
  362. after you to confiscate your Macintoshes, your stock of Mountain Dew®, and 
  363. your Technical Notes binder.  This Note assumes familiarity with Inside 
  364. Macintosh, Volume V, Graphics Devices.
  365.  
  366.  Name  =  TN.273.SCSI Termination
  367.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.273.SCSI Termination
  368.  Size: 11K         Date: 2/15/91         Version: 
  369.  AMUG file information and description:
  370.  TN.273.SCSI Termination - This Technical Note discusses SCSI termination on
  371. the Macintosh, including the new rules of termination which are necessary 
  372. with the advent of the high-speed Macintosh IIfx. Changes since April 1990.
  373. Fixed a typographical error which represented µF as mFWhy Is The Terminator
  374. After Sarah Connor? One of the features of the Macintosh IIfx is a new SCSI
  375. chip that provides SCSI data transfer rates up to three megabytes per 
  376. second, faster than any existing Macintosh model.  To achieve these 
  377. transfer rates, components on the Macintosh IIfx logic board are smaller 
  378. and faster, requiring different termination configurations than previous 
  379. Macintosh models.
  380.  
  381.  Name  =  TN.272.Sony Drives For You
  382.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.272.Sony Drives For You
  383.  Size: 25K         Date: 2/15/91         Version: 
  384.  AMUG file information and description:
  385.  TN.272.Sony Drives For You - This Technical Note discusses the Sony driver 
  386. control and status calls that are available on the Macintosh.
  387. Changes since April 1990. Corrected Figure 2, since the Return Physical 
  388. Drive Icon (csCode = 21) returns an error message instead of an icon on the
  389. Macintosh Plus. This Note covers the external (software) interface to the 
  390. Sony 3.5” floppy disk and Hard Disk 20 driver.  It describes all the new 
  391. calls, including those for Modified Frequency Modulation (MFM) driver 
  392. versions.  This discussion assumes a general understanding of the operation
  393. of Macintosh drivers.
  394.  
  395.  Name  =  TN.268.MacinTalk Final Chapter
  396.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.268.MacinTalk Final Chapter
  397.  Size:  6K         Date: 2/15/91         Version: 
  398.  AMUG file information and description:
  399.  TN.268.MacinTalk Final Chapter - This Technical Note discusses the 
  400. MacinTalk software product. The Introduction. For the introduction of the 
  401. Macintosh computer, it was decided (by the powers formerly in charge) that 
  402. such a computer would need something very special to make it a unique 
  403. event.  To aid in this concept, a third-party company was contracted to 
  404. write a speech synthesizer which would allow the Macintosh computer to 
  405. introduce itself.  The contract was signed, and the work begun.
  406.  
  407.  Name  =  TN.267.TE Technicalities
  408.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.267.TE Technicalities
  409.  Size:  5K         Date: 2/15/91         Version: 
  410.  AMUG file information and description:
  411.  TN.267.TE Technicalities - This Technical Note discusses some areas in 
  412. TextEdit that have not previously been clearly documented.
  413.  
  414.  Name  =  TN.266.Pointing Device Struct
  415.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.266.Pointing Device Struct
  416.  Size: 18K         Date: 2/15/91         Version: 
  417.  AMUG file information and description:
  418.  TN.266.Pointing Device Struct - This Technical Note specifies a memory data
  419. structure for use by absolute pointing devices; it was developed for the 
  420. Apple Desktop Bus (ADB) but could also be used for devices using serial 
  421. input.  Generally, this data structure is created and updated by the 
  422. pointing device’s driver and read by either an application or the system 
  423. cursor rendering software.
  424.  
  425.  Name  =  TN.265.Pascal to C PROC Parms
  426.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.265.Pascal to C PROC Parms
  427.  Size: 16K         Date: 2/15/91         Version: 
  428.  AMUG file information and description:
  429.  TN.265.Pascal to C PROC Parms - This Technical Note talks about nested 
  430. procedures and PROCEDURE parameters in Pascal and what to do when 
  431. converting them into C or C++. Changes since February 1990. Fixed some type
  432. coercion problems.
  433.  
  434.  Name  =  TN.264.Date & Time Problems
  435.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.264.Date & Time Problems
  436.  Size:  6K         Date: 2/15/91         Version: 
  437.  AMUG file information and description:
  438.  TN.264.Date & Time Problems - This Technical Note describes known bugs and 
  439. features in and solutions to the date and time routines introduced in 
  440. Script Manager 2.0. From the beginning, the Macintosh’s ability to handle 
  441. dates was limited to a rather small range—slightly more than a century.  
  442. Enhancements to the Script Manager, introduced with System Software 6.0, 
  443. extended this range to ±35,000 years.  Unfortunately, there is a minor bug 
  444. in one of the crucial calls and a “feature” that looks like a bug in 
  445. another.
  446.  
  447.  Name  =  TN.263.International Canceling
  448.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.263.International Canceling
  449.  Size: 11K         Date: 2/15/91         Version: 
  450.  AMUG file information and description:
  451.  TN.263.International Canceling - This Technical Note describes potential 
  452. problems canceling operations with the Command-period key sequence and 
  453. international keyboards.
  454.  
  455.  Name  =  TN.262.Controlling Status Calls
  456.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.262.Controlling Status Calls
  457.  Size:  4K         Date: 2/15/91         Version: 
  458.  AMUG file information and description:
  459.  TN.262.Controlling Status Calls - This Technical Note discusses situations 
  460. under which high-level Status calls do not work correctly and PBStatus 
  461. calls should be made instead.
  462.  
  463.  Name  =  TN.261.Cache As Cache Can
  464.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.261.Cache As Cache Can
  465.  Size: 10K         Date: 2/15/91         Version: 
  466.  AMUG file information and description:
  467.  TN.261.Cache As Cache Can - This Technical Note documents some new traps 
  468. for manipulating the data and instruction caches on 68030-based Macintosh 
  469. models and describes the MMU mapping set up by the ROMs for NuBus™ cards. 
  470. The Motorola MC68030 CPU used by the Macintosh IIx, IIcx, IIci, and SE/30 
  471. includes a data cache, an instruction cache, and a MMU (Memory Management 
  472. Unit).  This Note describes the problems that data caching can cause, 
  473. Apple’s solution to this problem, and additional information about MMU 
  474. mapping on MC68030-equipped machines.
  475.  
  476.  Name  =  TN.260.NuBus Power Limits
  477.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.260.NuBus Power Limits
  478.  Size:  8K         Date: 2/15/91         Version: 
  479.  AMUG file information and description:
  480.  TN.260.NuBus Power Limits - This Technical Note discusses a very real power
  481. limit for NuBus™ expansion cards and warns developers to heed this limit 
  482. lest they want users trashing their machines by overextending the Macintosh
  483. power supply.
  484.  
  485.  Name  =  TN.259.Old Style Colors
  486.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.259.Old Style Colors
  487.  Size:  8K         Date: 2/15/91         Version: 
  488.  AMUG file information and description:
  489.  TN.259.Old Style Colors - This Technical Note covers limitations of the 
  490. original Macintosh color model (eight-color) which Inside Macintosh, Volume
  491. I-173, QuickDraw does not document. Changes since October 1989. Added 
  492. definitions of the old-style constants.
  493.  
  494.  Name  =  TN.258.Our Checksum Bounced
  495.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.258.Our Checksum Bounced
  496.  Size:  6K         Date: 2/15/91         Version: 
  497.  AMUG file information and description:
  498.  TN.258.Our Checksum Bounced - This Technical Note discusses a fix to a SCSI
  499. Manager bug which concerns all developers working with SCSI and NuBus™ 
  500. device drivers.
  501.  
  502.  Name  =  TN.257.Slot Interrupt Priority
  503.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.257.Slot Interrupt Priority
  504.  Size:  3K         Date: 2/15/91         Version: 
  505.  AMUG file information and description:
  506.  TN.257.Slot Interrupt Priority - This Technical Note describes the way 
  507. interrupt priorities are scheduled, which corrects the description of slot 
  508. interrupt queue priorities in the Device Manager chapter of Inside 
  509. Macintosh, Volume V-426.
  510.  
  511.  Name  =  TN.256.Stand-Alone Code.cpt
  512.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.256.Stand-Alone Code.cpt
  513.  Size:131K         Date: 2/15/91         Version: 
  514.  AMUG file information and description:
  515.  TN.256.Stand-Alone Code.cpt - This Technical Note discusses many of the 
  516. issues related to stand-alone code modules.  This Note is by no means a 
  517. completely original work, as the author borrows freely from the work of 
  518. Keith Rollin, Mark Baumwell, and Jim Friedlander. Changes since October 
  519. 1989. Completely rewritten to broaden the discussion of stand-alone code 
  520. modules and include a greater scope of examples.  Incorporates Technical 
  521. Notes #110, MPW: Writing Stand-Alone Code and #145, Debugger FKEY.
  522.  
  523.  Name  =  TN.255.Portable ROM Expansion
  524.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.255.Portable ROM Expansion
  525.  Size: 19K         Date: 2/15/91         Version: 
  526.  AMUG file information and description:
  527.  TN.255.Portable ROM Expansion - This Technical Note explains the practice 
  528. of and theory behind compatible use of the expansion ROM in the Macintosh 
  529. Portable. Due to the unique nature of the Macintosh Portable, developers 
  530. now have the ability to add ROM to the Macintosh.  To provide for 
  531. compatible shared use of this ROM space with Apple and other developers, 
  532. this Note describes the feature and suggests methods of shared 
  533. implementation.
  534.  
  535.  Name  =  TN.254.Portable PDS Development
  536.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.254.Portable PDS Development
  537.  Size: 16K         Date: 2/15/91         Version: 
  538.  AMUG file information and description:
  539.  TN.254.Portable PDS Development - The Technical Note describes the unique 
  540. aspects of the Macintosh Portable Processor Direct Slot (PDS), including 
  541. the severe limitations in its use. Changes since October 1989. Corrected 
  542. PDS pin and signal descriptions in Tables 2 and 3.
  543.  
  544.  Name  =  TN.253.SICNs in Menus
  545.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.253.SICNs in Menus
  546.  Size:  8K         Date: 2/15/91         Version: 
  547.  AMUG file information and description:
  548.  TN.253.SICNs in Menus - This Technical Note describes a new facility of the
  549. Menu Manager which allows you to add reduced icons and small icons to your 
  550. menus. Changes since August 1989. Corrected references to SetItemCmd from 
  551. SetItmCmd.
  552.  
  553.  Name  =  TN.252.Plotting Small Icons
  554.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.252.Plotting Small Icons
  555.  Size: 11K         Date: 2/15/91         Version: 
  556.  AMUG file information and description:
  557.  TN.252.Plotting Small Icons - This Technical Note discusses the 'SICN' 
  558. resource format and how to plot one in a GrafPort. Changes since August 
  559. 1989. Corrected errors in the Pascal code and spruced up the rest.
  560.  
  561.  Name  =  TN.251.Safe cdevs
  562.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.251.Safe cdevs
  563.  Size:  6K         Date: 2/15/91         Version: 
  564.  AMUG file information and description:
  565.  TN.251.Safe cdevs - This Technical Note describes a potential problem with 
  566. Control Panel devices (cdevs) that contain EditText fields and presents a 
  567. way to avoid it. The Control Panel chapter in Inside Macintosh, Volume 5 
  568. describes, in detail, how run-time errors are handled by the Control Panel 
  569. and a cdev.  There is, however, a potential problem with cdevs that contain
  570. EditText items that this chapter does not cover.
  571.  
  572.  Name  =  TN.250.AppleTalk Phase 2
  573.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.250.AppleTalk Phase 2
  574.  Size: 33K         Date: 2/15/91         Version: 
  575.  AMUG file information and description:
  576.  TN.250.AppleTalk Phase 2 - This Technical Note discusses the new features 
  577. and calls available with AppleTalk Phase 2. Changes since August 1989. 
  578. Incorporated the ClosePrep and CancelClosePrep transitions and the new 
  579. control calls to the .MPP driver.AppleTalk Phase 2 is only available on 
  580. Macintosh Plus or later Macintosh platforms, and it requires the 
  581. installation of AppleTalk file V53, or greater.  Both EtherTalk 2.0 and 
  582. TokenTalk 2.0 automatically install this AppleTalk file.  Developer 
  583. Technical Support can supply the Phase 2 drivers for development use; 
  584. however, if you need to include the Phase 2 drivers in your product, you 
  585. must license them from Software Licensing.
  586.  
  587.  Name  =  TN.249.Opening Serial Driver
  588.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.249.Opening Serial Driver
  589.  Size:  5K         Date: 2/15/91         Version: 
  590.  AMUG file information and description:
  591.  TN.249.Opening Serial Driver - This Technical Note describes the 
  592. recommended, safe, and compatible way to open the Macintosh serial driver, 
  593. and it explains why you should no longer check for port availability.
  594. Changes since October 1989:  Corrected syntax errors in the sample code.
  595.  
  596.  Name  =  TN.248.DAs in Need of Time
  597.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.248.DAs in Need of Time
  598.  Size:  9K         Date: 2/15/91         Version: 
  599.  AMUG file information and description:
  600.  TN.248.DAs in Need of Time - This Technical Note describes a few 
  601. complications which rear their rather ugly little heads when a desk 
  602. accessory or driver needs periodic time.  It also presents a few solutions 
  603. to work around these problems and make life easier, at least periodically.
  604. Changes since August 1989:  Corrected _BitClr and _BitSet  examples.  Okay,
  605. I admit it.  I was having too good of a time when I wrote the original Note
  606. and messed up the bit manipulations at the end.  My vision was blurred; I 
  607. was in no condition to see those tiny little things.
  608.  
  609.  Name  =  TN.247.DeskHook and INIT Evils
  610.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.247.DeskHook and INIT Evils
  611.  Size:  8K         Date: 2/15/91         Version: 
  612.  AMUG file information and description:
  613.  TN.247.DeskHook and INIT Evils - This Technical Note discusses INIT evils, 
  614. the foremost of which deals with clearing DeskHook and DragHook at INIT 
  615. time Changes since August 1989. Added warning about clearing DragHook.If 
  616. you’ve survived the typical DTS Tirade* and still feel the need to display 
  617. a dialog box or window in an INIT, you need to be aware of a problem which 
  618. exists on Macintoshes earlier than the Macintosh II (remember those?).  
  619. There is a low-memory global named DeskHook ($A6C), which can contain a 
  620. pointer to a routine responsible for painting the Macintosh desktop.
  621.  
  622.  Name  =  TN.246.Mixing HFS and C I/O
  623.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.246.Mixing HFS and C I/O
  624.  Size:  8K         Date: 2/15/91         Version: 
  625.  AMUG file information and description:
  626.  TN.246.Mixing HFS and C I/O - This Technical Note discusses the problem of 
  627. mixing calls to the Macintosh file system with calls to MPW C library file 
  628. I/O routines. Problems with Communication Between HFS and C Frequently, 
  629. developers want to use both Macintosh file I/O and C file I/O.  Developers 
  630. who do this must keep in mind that they are combining two distinct file 
  631. representations (the Macintosh and ANSI C).  The only limitation on mixing 
  632. HFS and C I/O functions is that they cannot be mixed on the same open file.
  633. There are three reasons why this cannot be done.
  634.  
  635.  Name  =  TN.245.Font Family Numbers
  636.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.245.Font Family Numbers
  637.  Size:  9K         Date: 2/15/91         Version: 
  638.  AMUG file information and description:
  639.  TN.245.Font Family Numbers - This Technical Note discusses the range of 
  640. numbers available for identifying font families, how they are allocated 
  641. among script systems, what numbers should be used for fonts that were 
  642. designed to be used as a tool in an application, and Apple’s font 
  643. registration program.
  644.  
  645.  Name  =  TN.244.Color Cursor Cursing
  646.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.244.Color Cursor Cursing
  647.  Size:  4K         Date: 2/15/91         Version: 
  648.  AMUG file information and description:
  649.  TN.244.Color Cursor Cursing - Working with color cursors you create from 
  650. scratch can cause headaches.  This Technical Note may help a bit.
  651. Changes since June 1989:  Added a warning about purgeable 'clut' resources.
  652. If you’re building an application that creates color cursors, you may 
  653. encounter some quirks present in Color QuickDraw that manifest themselves 
  654. in hard-to-understand ways.
  655.  
  656.  Name  =  TN.243.Script Mgr Variables
  657.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.243.Script Mgr Variables
  658.  Size: 24K         Date: 2/15/91         Version: 
  659.  AMUG file information and description:
  660.  TN.243.Script Mgr Variables - The Script Manager maintains a number of 
  661. global variables which can be read with the routine _GetEnvirons.  These 
  662. variables can be set by a corresponding routine, _SetEnvirons.  In 
  663. addition, each script interface system maintains variables of its own.  
  664. These are referred to as local variables in Inside Macintosh, Volume V-293,
  665. The Script Manager, and are read by _GetScript and set by _SetScript.
  666.  
  667.  Name  =  TN.242.Fonts and the Script Mgr
  668.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.242.Fonts and the Script Mgr
  669.  Size: 12K         Date: 2/15/91         Version: 
  670.  AMUG file information and description:
  671.  TN.242.Fonts and the Script Mgr - The traps _FontScript, _IntlScript, and 
  672. _Font2Script all use a font family ID to determine the script interface 
  673. system code that they return.  This Note describes the process, the way the
  674. Script Manager renumbers the Chicago font for non-Roman systems, and the 
  675. equation for calculating Script IDs from font family IDs.
  676.  
  677.  Name  =  TN.241.ScriptMgr Pixel2Char
  678.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.241.ScriptMgr Pixel2Char
  679.  Size: 10K         Date: 2/15/91         Version: 
  680.  AMUG file information and description:
  681.  TN.241.ScriptMgr Pixel2Char - This Technical Note discusses the Pixel2Char 
  682. routine provided by the Script Manager. Changes since June 1989:  Clarified
  683. information, corrected minor errors, and replaced the illustration. The 
  684. leftSide flag in the Pixel2Char routine was inappropriately named, and it 
  685. should now be called the leadingEdge flag.  The reason for this change is 
  686. that the value Pixel2Char returns indicates whether a mouse-down occurred 
  687. on the leading edge of a character, which is not always the left side.  (In
  688. Arabic or Hebrew, both of which are right-to-left scripts, the mouse-down 
  689. occurs on the right side of the character.)
  690.  
  691.  Name  =  TN.240.MPW for Non-Mac Systems
  692.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.240.MPW for Non-Mac Systems
  693.  Size: 17K         Date: 2/15/91         Version: 
  694.  AMUG file information and description:
  695.  TN.240.MPW for Non-Mac Systems - Occasionally there is a need to create 
  696. routines or programs for non-Macintosh systems.  Such situations can occur 
  697. if you are writing a driver for a NuBus board, developing a peripheral that
  698. uses a 68xxx microprocessor, or perhaps targeting a proprietary 68xxx 
  699. machine (Apple uses MPW for all of its ROM and NuBus development.)
  700.  
  701.  Name  =  TN.239.Inside Object Pascal
  702.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.239.Inside Object Pascal
  703.  Size:  5K         Date: 2/15/91         Version: 
  704.  AMUG file information and description:
  705.  TN.239.Inside Object Pascal - This Technical Note briefly explains why 
  706. Object Pascal and MacApp should only be used to write applications and MPW 
  707. tools. Although Pascal can be used to write desk accessories, drivers, 
  708. XCMDs and other types of stand–alone code, and Object Pascal is an 
  709. extension of Pascal, Object Pascal cannot be used to write anything other 
  710. than an application.  This limitation is due to the fact that Object Pascal
  711. method dispatching relies on a valid A5 pointing to a jump table.  Because 
  712. MacApp is written in Object Pascal, this limitation applies to it as well.
  713.  
  714.  Name  =  TN.238.Getting a Full Pathname
  715.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.238.Getting a Full Pathname
  716.  Size: 11K         Date: 2/15/91         Version: 
  717.  AMUG file information and description:
  718.  TN.238.Getting a Full Pathname - This Technical Note describes how to 
  719. generate a full pathname, given either a Working Directory ID or a real 
  720. vRefNum and a DirID. By using the techniques shown in this Note, you can 
  721. find the full pathname from information such as that returned by Standard 
  722. File. Changes since June 89. Added a note on how to check for A/UX.  Fixed 
  723. bug in C version:  BlockMove() parameters were reversed in pStrcpy(); added
  724. range checking to pStrCat(); changed references from “longint” to “long”.  
  725. Fixed bug in Pascal and C versions:  Changed fsRtDir to fsRtdirID and made 
  726. references to gHaveAUX consistent.
  727.  
  728.  Name  =  TN.237.TextEdit Limits Again
  729.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.237.TextEdit Limits Again
  730.  Size:  6K         Date: 2/15/91         Version: 
  731.  AMUG file information and description:
  732.  TN.237.TextEdit Limits Again - This Technical Note describes another limit 
  733. on the length of a TextEdit record that was previously undocumented. The 
  734. TextEdit chapters in Inside Macintosh document the 32K character limit on a
  735. TextEdit record length.  They do not, however, discuss the more subtle 
  736. constraint on the size of the destRect.  By definition, the destRect uses 
  737. integer values for the top-left and bottom-right boundary points.  It is 
  738. possible to have values too large for the destRect without reaching the 
  739. teLength limit.
  740.  
  741.  Name  =  TN.236.Speedy Coprocessor
  742.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.236.Speedy Coprocessor
  743.  Size: 27K         Date: 2/15/91         Version: 
  744.  AMUG file information and description:
  745.  TN.236.Speedy Coprocessor - This Technical Note presents an overview of the
  746. 68881 and 68882 math coprocessors, and it covers general information about 
  747. the chips as well as how using the chips directly can help speed your 
  748. math–intensive code.
  749.  
  750.  Name  =  TN.235.Coop with Coprocessor
  751.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.235.Coop with Coprocessor
  752.  Size:  7K         Date: 2/15/91         Version: 
  753.  AMUG file information and description:
  754.  TN.235.Coop with Coprocessor - The use of the 68881 or 68882 coprocessor is
  755. usually handled by the SANE package or by a development system’s libraries.
  756. Some developers may wish to use the coprocessor during special 
  757. circumstances, such as at interrupt level or installing their own hardware 
  758. floating point exception handlers.  In these two situations, there are 
  759. special requirements that must be met.  These requirements will require 
  760. floating–point assembly code and are discussed in this Technical Note.
  761. Changes since June 1989. Noted that the new Sound Manager no longer uses 
  762. floating-point numbers at interrupt time.
  763.  
  764.  Name  =  TN.234.NuBus Physical Designs
  765.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.234.NuBus Physical Designs
  766.  Size: 23K         Date: 2/15/91         Version: 
  767.  AMUG file information and description:
  768.  TN.234.NuBus Physical Designs - This Technical Note discusses the possible 
  769. problems you might run into while designing a NuBus™ card.  It covers some 
  770. of the specifications which, if not followed, will have problems with 
  771. current Macintosh machines, and possibly future machines. Changes since 
  772. June 1989. Added warnings about the no component area and full-size NuBus 
  773. cards.
  774.  
  775.  Name  =  TN.233.MF and _SetGrowZone
  776.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.233.MF and _SetGrowZone
  777.  Size:  6K         Date: 2/15/91         Version: 
  778.  AMUG file information and description:
  779.  TN.233.MF and _SetGrowZone - MultiFinder gives each application its own 
  780. heap in which to run.  Because it wants to do some fairly tricky memory 
  781. management, MultiFinder installs its own grow zone procedure (gzProc) in 
  782. the application heap, and patches _SetGrowZone to store your application’s 
  783. gzProc in a temporary variable inside of itself.
  784.  
  785.  Name  =  TN.232.Strip _OpenResFile...
  786.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.232.Strip _OpenResFile...
  787.  Size:  5K         Date: 2/15/91         Version: 
  788.  AMUG file information and description:
  789.  TN.232.Strip _OpenResFile...- This Technical Note discusses a bug in 
  790. _OpenResFile and _OpenRFPerm which can cause system crashes and what you 
  791. can do to avoid this problem. The traps _OpenResFile and _OpenRFPerm call 
  792. some common code in 128K and later ROMs which was affected by some system 
  793. patches for early print drivers.  The problem is that the common code 
  794. checks an attribute bit in the pointer to the string name to see if it is a
  795. dereferenced handle. 
  796.  
  797.  Name  =  TN.231.Allegro Common Lisp
  798.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.231.Allegro Common Lisp
  799.  Size: 16K         Date: 2/15/91         Version: 
  800.  AMUG file information and description:
  801.  TN.231.Allegro Common Lisp - This Technical Note describes some known 
  802. problems and provides solutions to these problems for the Macintosh Allegro
  803. Common Lisp™ package which is available from Apple Computer, Inc.  You 
  804. should note, however, that although Apple acquired Coral Software and is 
  805. selling Macintosh Allegro Common Lisp, Apple is not currently distributing 
  806. any other products which had been developed or previously sold by Coral 
  807. Software.
  808.  
  809.  Name  =  TN.230.Macintosh SE/30
  810.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.230.Macintosh SE/30
  811.  Size: 12K         Date: 2/15/91         Version: 
  812.  AMUG file information and description:
  813.  TN.230.Macintosh SE/30 - This Technical Note discusses the Macintosh SE/30,
  814. items of interest to developers, and sources for further information.
  815. Changes since April 1989. Corrected an error in the addresses of the video 
  816. display buffers. The Macintosh SE/30 is a modification of the original 
  817. Macintosh SE concept.  The SE/30 combines the modularity of the original SE
  818. with the capabilities of the larger Macintosh IIx.  Although the name 
  819. implies that the SE/30 borrows many characteristics from the SE, there are 
  820. actually substantial differences between the two machines, and this Note 
  821. addresses some of those differences.
  822.  
  823.  Name  =  TN.228.Swapping MMU Mode
  824.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.228.Swapping MMU Mode
  825.  Size:  5K         Date: 2/15/91         Version: 
  826.  AMUG file information and description:
  827.  TN.228.Swapping MMU Mode - This Technical Note describes how to avoid 
  828. crashing when swapping into 32-bit mode on a Macintosh II.  Thanks to Jim 
  829. Berry and Dan Weston for pointing this out. There is a condition where 
  830. calling _SwapMMUMode to switch the Macintosh II into 32-bit mode can cause 
  831. the system to crash.  This condition happens in code which is loaded into 
  832. memory from a resource, or is placed in memory that was allocated by the 
  833. Memory Manager and is subsequently executed by using the master pointer as 
  834. the address for a JSR instruction.  This condition includes stand-alone, 
  835. executable code resources (i.e., 'XCMD', 'XFCN', 'INIT', 'ADBS','FKEY', 
  836. etc.), but does not apply to standard 'CODE' resources.
  837.  
  838.  Name  =  TN.227.Toolbox Karma
  839.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.227.Toolbox Karma
  840.  Size:  6K         Date: 2/15/91         Version: 
  841.  AMUG file information and description:
  842.  TN.227.Toolbox Karma - This Technical Note discusses Macintosh Toolbox 
  843. compatibility and what you can do to help the Macintosh continue evolving 
  844. in the future. It is getting increasingly difficult to make additions to 
  845. the Macintosh Toolbox.  The single greatest obstacle today is 
  846. compatibility.  Often, engineering is prevented from doing something in an 
  847. elegant manner because it would break some applications.  This usually 
  848. leaves three choices.
  849.  
  850.  Name  =  TN.226.Moving Your Cat
  851.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.226.Moving Your Cat
  852.  Size: 13K         Date: 2/15/91         Version: 
  853.  AMUG file information and description:
  854.  #226 Moving Your Cat Revised by John Harvey February 1991. This Technical 
  855. Note clarifies the documentation in Inside Macintosh for _PBCatMove and 
  856. provides a demonstration on how to use it. Changes since February 1989. 
  857. Added a discussion of using NIL for the destination name pointer, which is 
  858. the simplest way to use _CatMove, and revised the sample code to use the 
  859. high-level File Manager calls.  Thanks to Tim Dierks of Apple Developer 
  860. Technical Support U.K. for pointing out the problems with the previous 
  861. version of this Note.
  862.  
  863.  Name  =  TN.225.Using RegisterName
  864.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.225.Using RegisterName
  865.  Size:  4K         Date: 2/15/91         Version: 
  866.  AMUG file information and description:
  867.  TN.225.Using RegisterName - The verify flag indicator byte (verifyFlag) of 
  868. the AppleTalk RegisterName function should always be set TRUE in published 
  869. code. The AppleTalk chapter of Inside Macintosh, Volume II-322, in 
  870. describing the RegisterName function, states:
  871.  
  872.  Name  =  TN.224.Opening AppleTalk
  873.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.224.Opening AppleTalk
  874.  Size:  5K         Date: 2/15/91         Version: 
  875.  AMUG file information and description:
  876.  TN.224.Opening AppleTalk - This Technical Note describes the most 
  877. effective, safe, and compatible way to open the AppleTalk drivers, .MPP and
  878. .ATP. The process of opening the AppleTalk drivers, .MPP and .ATP, can be 
  879. greatly simplified.  The AppleTalk Manager chapters of Inside Macintosh 
  880. describe the calls MPPOpen and ATPLoad for use by high-level languages.  
  881. They also describe the process of examining low-memory globals SPConfig and
  882. PortBUse before calling _Open for assembly language use of AppleTalk.
  883.  
  884.  Name  =  TN.223._InitGraph with MPW Asm
  885.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.223._InitGraph with MPW Asm
  886.  Size:  5K         Date: 2/15/91         Version: 
  887.  AMUG file information and description:
  888.  TN.223._InitGraph with MPW Asm - The Macintosh Programmer’s Workshop (MPW) 
  889. requires assembly-language programmers to allocate their own QuickDraw 
  890. global variables rather than use the default record as indicated in Inside 
  891. Macintosh.
  892.  
  893.  Name  =  TN.222.Custom Menu Flashing
  894.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.222.Custom Menu Flashing
  895.  Size:  4K         Date: 2/15/91         Version: 
  896.  AMUG file information and description:
  897.  TN.222.Custom Menu Flashing - Selected menu items in a custom 'MDEF' 
  898. resource do not flash correctly due to a bug in the Menu Manager.  This 
  899. Technical Note describes the problem and explains how to make your 'MDEF' 
  900. flash correctly.
  901.  
  902.  Name  =  TN.221.NuBus Interrupt Latency
  903.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.221.NuBus Interrupt Latency
  904.  Size:  9K         Date: 2/15/91         Version: 
  905.  AMUG file information and description:
  906.  TN.221.NuBus Interrupt Latency - This Technical Note discusses NuBus™ 
  907. interrupt latency, and why, contrary to popular belief, the Macintosh is 
  908. not a real-time machine. Changes since December 1988:  Changed sample code 
  909. to defer cursor rendering to a deferred task rather than a “pseudo-VBL” 
  910. task.
  911.  
  912.  Name  =  TN.220.Segment Loader Limits
  913.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.220.Segment Loader Limits
  914.  Size:  5K         Date: 2/15/91         Version: 
  915.  AMUG file information and description:
  916.  TN.220.Segment Loader Limits - This Technical Note discusses the jump table
  917. limitations of the Segment Loader and suggests some ways to work around 
  918. these limitations to minimize the problem.  These limitations are most 
  919. evident to developers using MacApp and other object-oriented environments.
  920.  
  921.  Name  =  TN.219.New Memory Manager Glue
  922.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.219.New Memory Manager Glue
  923.  Size:  4K         Date: 2/15/91         Version: 
  924.  AMUG file information and description:
  925.  TN.219.New Memory Manager Glue - This Technical Note describes some new 
  926. Memory Manager routines which make life a little easier for C and Pascal 
  927. programmers. MPW 3.0 includes some new glue routines that allow you to 
  928. allocate pre-zeroed handles and pointers and to allocate memory (zeroed or 
  929. otherwise) in the system heap.  These capabilities have always been 
  930. available to assembly language programmers, but these routines make it 
  931. possible for C and Pascal programmers to achieve the same results.
  932.  
  933.  Name  =  TN.218.New High-Level File Mgr
  934.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.218.New High-Level File Mgr
  935.  Size:  6K         Date: 2/15/91         Version: 
  936.  AMUG file information and description:
  937.  TN.218.New High-Level File Mgr - This Technical Note describes some new 
  938. high-level File Manager calls that make dealing with the Hierarchical File 
  939. System (HFS) easier. When the Hierarchical File System (HFS) was first 
  940. introduced, a large number of low-level File Manager calls were documented.
  941. Unfortunately, higher-level equivalents to these calls were not present 
  942. until now.  The glue for these routines is built into MPW 3.0.  They are 
  943. provided as a convenience for those of you who hate filling in parameter 
  944. blocks.
  945.  
  946.  Name  =  TN.216.AppleShare Limits
  947.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.216.AppleShare Limits
  948.  Size:  3K         Date: 2/15/91         Version: 
  949.  AMUG file information and description:
  950.  TN.216.AppleShare Limits - This Technical Note describes some 
  951. machine-dependent limits of current versions of AppleShare and AppleShare 
  952. servers. The following chart lists some current AppleShare limits which are
  953. based upon the chosen server platform and memory configuration.  The limits
  954. which otherwise might be present on a workstation are still in effect and 
  955. are not affected by the workstation being logged into an AppleShare server.
  956. These limits will change in the future.
  957.  
  958.  Name  =  TN.215.“New” cdev Messages
  959.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.215.“New” cdev Messages
  960.  Size:  5K         Date: 2/15/91         Version: 
  961.  AMUG file information and description:
  962.  TN.215.“New” cdev Messages - This Technical Note describes some previously 
  963. undocumented messages that the Control Panel can send to a Control Panel 
  964. device (cdev). The Control Panel will send messages to a Control Panel 
  965. device (cdev) in response to the user selecting the Undo, Cut, Copy, Paste 
  966. and Clear items of the Edit menu.  It will also send a message if the cdev 
  967. contains a 'CURS' = –4064 resource.  The following is a list of the 
  968. previously undocumented messages, descriptions, and values:
  969.  
  970.  Name  =  TN.214.New Resource Mgr Calls
  971.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.214.New Resource Mgr Calls
  972.  Size:  4K         Date: 2/15/91         Version: 
  973.  AMUG file information and description:
  974.  TN.214.New Resource Mgr Calls - This Technical Note describes two new 
  975. Resource Manager calls that make opening and creating resource files much 
  976. easier. MPW 3.0 supplies glue routines for two new Resource Manager calls 
  977. which provide new, easier ways of opening and creating resource files.
  978.  
  979.  Name  =  TN.213._StripAddress
  980.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.213._StripAddress
  981.  Size:  9K         Date: 2/15/91         Version: 
  982.  AMUG file information and description:
  983.  TN.213._StripAddress - Inside Macintosh, Volume V, The OS Utilities, 
  984. incorrectly documents the _StripAddress trap; this Technical Note correctly
  985. documents the trap and gives guidelines for its use. Changes since April 
  986. 1990. Added a discussion of why the _StripAddress trap should be used under
  987. certain circumstances when patching traps.
  988.  
  989.  Name  =  TN.212.Joy of 32-Bit Clean
  990.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.212.Joy of 32-Bit Clean
  991.  Size: 12K         Date: 2/15/91         Version: 
  992.  AMUG file information and description:
  993.  TN.212.Joy of 32-Bit Clean - What to do (and what not to do) to make your 
  994. programs run under A/UX and future versions of the Macintosh System 
  995. Software. Changes since October 1988. Added information on writing 32-bit 
  996. clean CDEFs, and updated A/UX information to reflect the capabilities of 
  997. A/UX 1.1.
  998.  
  999.  Name  =  TN.211.Palette Manager Changes
  1000.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.211.Palette Manager Changes
  1001.  Size:  6K         Date: 2/15/91         Version: 
  1002.  AMUG file information and description:
  1003.  TN.211.Palette Manager Changes - This Technical Note describes the changes 
  1004. and enhancements to the Palette Manager in System Software 6.0.2 and future
  1005. versions.
  1006.  
  1007.  Name  =  TN.210.Desktop File Limits
  1008.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.210.Desktop File Limits
  1009.  Size:  4K         Date: 2/15/91         Version: 
  1010.  AMUG file information and description:
  1011.  TN.210.Desktop File Limits - There is a limit to the number of 
  1012. applications/files that the Finder can “see” on a single volume. This 
  1013. limitation is imposed by the Desktop file. The Desktop file is a resource 
  1014. file that the Finder uses to keep track of information about files and 
  1015. applications, including Finder file comments (Get Info comments), and how 
  1016. these files and applications relate to each other.
  1017.  
  1018.  Name  =  TN.209.CD ROM Formats
  1019.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.209.CD ROM Formats
  1020.  Size:  5K         Date: 2/15/91         Version: 
  1021.  AMUG file information and description:
  1022.  TN.209.CD ROM Formats - Generally, if a Macintosh has problems with a High 
  1023. Sierra disc, it’s because the disc in question  doesn’t really conform to 
  1024. the High Sierra specification.  There are actually two specifications of 
  1025. the High Sierra format. The Paper 28 May 1986 Working Paper for Information
  1026. Processing — Volume and File Structure of Compact Read Only Optical Discs 
  1027. for Information Interchange (known as the “High Sierra” specification.)  
  1028. We’ll call discs conforming to this standard “High Sierra” discs.
  1029.  
  1030.  Name  =  TN.208.Setting and Restoring A5
  1031.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.208.Setting and Restoring A5
  1032.  Size:  9K         Date: 2/15/91         Version: 
  1033.  AMUG file information and description:
  1034.  TN.208.Setting and Restoring A5 - The routines SetupA5 and RestoreA5 do not
  1035. work properly when used with some optimizing Pascal and C compilers.  Two 
  1036. new routines, SetCurrentA5 and SetA5, are available in MPW 3.0, and they 
  1037. should work with any compiler. Changes since December 1988. Removed the 
  1038. sample code and expanded the explanation of these two routines.  The sample
  1039. code in Technical Note #180 reflects these new A5 routines.
  1040.  
  1041.  Name  =  TN.207.Styled TextEdit 6.0
  1042.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.207.Styled TextEdit 6.0
  1043.  Size: 28K         Date: 2/15/91         Version: 
  1044.  AMUG file information and description:
  1045.  TN.207.Styled TextEdit 6.0 - Some changes were made to TextEdit in System 
  1046. 6.0 to provide more functionality and to make life easier for the 
  1047. programmer using TextEdit.  This Note documents those changes and 
  1048. enhancements. Changes since August 1, 1988:  Corrected an error in 
  1049. TEDispatchRec in the figure on page 8.
  1050.  
  1051.  Name  =  TN.206.Space Aliens (ADB)
  1052.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.206.Space Aliens (ADB)
  1053.  Size: 19K         Date: 2/15/91         Version: 
  1054.  AMUG file information and description:
  1055.  TN.206.Space Aliens (ADB) - This Technical Note explains how the Apple 
  1056. Desktop Bus (ADB) works on the Macintosh.  This Note covers the boot 
  1057. process, driver installation, ADB Manager run-time behavior, use of ADB 
  1058. Manager calls, and answers commonly asked questions. Changes since October 
  1059. 1989:  Added a section on ADB Manager run-time behavior and removed the 
  1060. recommendation for using an 'INIT' resource or application-based 
  1061. installation procedure.
  1062.  
  1063.  Name  =  TN.205.MultiFinder Revisited
  1064.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.205.MultiFinder Revisited
  1065.  Size: 12K         Date: 2/15/91         Version: 
  1066.  AMUG file information and description:
  1067.  TN.205.MultiFinder Revisited - This Technical Note describes several new 
  1068. features found in MultiFinder 6.0 and answers a few more commonly-asked 
  1069. questions. Changes since October 1989:  Clarified the section on 
  1070. childDiedEvent events. How Can I Tell If MultiFinder is Present. Once 
  1071. again, you can’t.  Previous Technical Notes discuss how to check for the 
  1072. new services available with MultiFinder (i.e., _WaitNextEvent and the 
  1073. temporary memory allocation calls).
  1074.  
  1075.  Name  =  TN.204.HFS Tidbits
  1076.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.204.HFS Tidbits
  1077.  Size:  4K         Date: 2/15/91         Version: 
  1078.  AMUG file information and description:
  1079.  TN.204.HFS Tidbits - This Technical Note describes two poorly documented 
  1080. features of the File Manager. Always Set ioFVersNum to Zero - When making a
  1081. File Manager call which uses a CInfoPBRec, or the fileParam or ioParam 
  1082. portion of either a ParamBlockRec or an HParamBlockRec, you should set the 
  1083. ioFVersNum field to zero. 
  1084.  
  1085.  Name  =  TN.203.Managerial Abuse
  1086.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.203.Managerial Abuse
  1087.  Size: 13K         Date: 2/15/91         Version: 
  1088.  AMUG file information and description:
  1089.  TN.203.Managerial Abuse - When using the various pieces of the Macintosh 
  1090. operating system there is a temptation to try to stretch the built-in 
  1091. Managers too far. Developers should be aware of the intended purpose of the
  1092. various Managers and beware of using them for things that they were not 
  1093. designed to handle. If extended beyond their design goals, they will become
  1094. slow and unwieldy.
  1095.  
  1096.  Name  =  TN.202.Resetting the Event Mask
  1097.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.202.Resetting the Event Mask
  1098.  Size:  6K         Date: 2/15/91         Version: 
  1099.  AMUG file information and description:
  1100.  TN.202.Resetting the Event Mask - In most cases, applications should not 
  1101. modify the system event mask, which means they should avoid calling 
  1102. SetEventMask and not alter the low-memory global SysEvtMask.  Modifying the
  1103. event mask is of no use to most applications, and the only situation in 
  1104. which an application might need to modify it is to detect key-up events.  
  1105. Only those developers creating applications which must detect key-up events
  1106. need to know the information presented in this Technical Note.  Other 
  1107. developers should avoid altering the system event mask at all costs.
  1108.  
  1109.  Name  =  TN.201.Read Packet
  1110.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.201.Read Packet
  1111.  Size:  3K         Date: 2/15/91         Version: 
  1112.  AMUG file information and description:
  1113.  TN.201.Read Packet - This technical note clears up some confusion 
  1114. concerning the low-level function ReadPacket. This function is called by 
  1115. protocol handlers and socket listeners.
  1116.  
  1117.  Name  =  TN.200.MPW 2.0.2 Bugs
  1118.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.200.MPW 2.0.2 Bugs
  1119.  Size: 27K         Date: 2/15/91         Version: 
  1120.  AMUG file information and description:
  1121.  TN.200.MPW 2.0.2 Bugs - This Technical Note describes latest information 
  1122. about bugs or unexpected “features” in the MPW C, Pascal, and Assembler 
  1123. products and the Toolbox and OS Interface Libraries.  We intend this Note 
  1124. to be a complete list of all known bugs in these products, which will be 
  1125. updated as old bugs are fixed, or new ones appear.  If you have encountered
  1126. a bug or unexpected feature which is not described here, be sure to let us 
  1127. know.  Specific code examples are useful.
  1128.  
  1129.  Name  =  TN.199.KillNBP
  1130.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.199.KillNBP
  1131.  Size:  4K         Date: 2/15/91         Version: 
  1132.  AMUG file information and description:
  1133.  TN.199.KillNBP - This technical note clears up some confusion regarding the
  1134. Name Binding Protocol KillNBP function. The description of the PKillNBP 
  1135. function on page 519 of Inside Macintosh Volume V is somewhat confusing. 
  1136. The data type of the parameter thePBptr is incorrectly given as ATPPBPtr 
  1137. and the pointer to the queue element from the NBP call to be aborted is 
  1138. incorrectly given as being passed in aKillQEl. The following is a correct 
  1139. description of the KillNBP function:
  1140.  
  1141.  Name  =  TN.198.NFNTs
  1142.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.198.NFNTs
  1143.  Size: 11K         Date: 2/15/91         Version: 
  1144.  AMUG file information and description:
  1145.  TN.198.NFNTs - Font/DA Mover version 3.8 (shipped with System 6.0) 
  1146. incorporates support for 'NFNT' resources and styled font family members. 
  1147. This note discusses several issues concerning the arrangement of 
  1148. font-related resources and their IDs. It also documents the proper 
  1149. arrangement of font resources within the font files that Font/DA Mover 
  1150. uses.
  1151.  
  1152.  Name  =  TN.197.Chooser PACK
  1153.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.197.Chooser PACK
  1154.  Size: 11K         Date: 2/15/91         Version: 
  1155.  AMUG file information and description:
  1156.  TN.197.Chooser PACK - Beginning with version 3.2, the Chooser has been 
  1157. enhanced to provide support for additional controls. As stated in Inside 
  1158. Macintosh IV-217, the Chooser communicates with device packages as if they 
  1159. were the following function:
  1160.  
  1161.  Name  =  TN.196.CDEF Params and Bugs
  1162.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.196.CDEF Params and Bugs
  1163.  Size:  4K         Date: 2/15/91         Version: 
  1164.  AMUG file information and description:
  1165.  TN.196.CDEF Params and Bugs - This Technical Note describes known bugs in 
  1166. the Control Manager which affect control definition functions ('CDEF' 
  1167. resources). Changes since August 1988:  Updated to reflect known bugs in 
  1168. the posCntl and thumbCntl messages and the Control Manager _TrackControl 
  1169. call.
  1170.  
  1171.  Name  =  TN.195.ASP & AFP
  1172.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.195.ASP & AFP
  1173.  Size:  4K         Date: 2/15/91         Version: 
  1174.  AMUG file information and description:
  1175.  TN.195.ASP & AFP - The descriptions of the AppleTalk Session Protocol and 
  1176. AppleTalk Filing Protocol functions within the body of the AppleTalk 
  1177. Manager chapter are incorrect and conflict with those in the Summary of the
  1178. AppleTalk Manager. This technical note resolves the discrepancy.
  1179.  
  1180.  Name  =  TN.194.WMgrPortability
  1181.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.194.WMgrPortability
  1182.  Size:  7K         Date: 2/15/91         Version: 
  1183.  AMUG file information and description:
  1184.  TN.194.WMgrPortability - Where WMgrPort (the Window Manager’s port), 
  1185. MultiFinder, and drawing outside of one’s windows will be reconciled. 
  1186. Beware - Drawing outside of windows from within an application is 
  1187. guaranteed to make that application less compatible with future systems. In
  1188. order to be as MultiFinder compatible as possible, draw only in response to
  1189. an update event or as part of the feedback for a user action, i.e. while 
  1190. tracking the mouse. MultiFinder compatibility is just as important as HFS 
  1191. compatibility!
  1192.  
  1193.  Name  =  TN.193.So Many Bitmaps…
  1194.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.193.So Many Bitmaps…
  1195.  Size:  6K         Date: 2/15/91         Version: 
  1196.  AMUG file information and description:
  1197.  TN.193.So Many Bitmaps… - This Technical Note discusses the routine 
  1198. BitMapToRegion, which converts a bitmap to a region, and is available in 
  1199. the 32-Bit QuickDraw INIT and from Apple Software Licensing.
  1200. Changes since October 1989:  Added trap definitions for developers using 
  1201. the 32-Bit QuickDraw version of this routine without the correct MPW 
  1202. include file.
  1203.  
  1204.  Name  =  TN.192.Surprises in LW 5.0
  1205.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.192.Surprises in LW 5.0
  1206.  Size: 10K         Date: 2/15/91         Version: 
  1207.  AMUG file information and description:
  1208.  TN.192.Surprises in LW 5.0 - This Technical Note describes some changes in 
  1209. version 5.0 and later LaserWriter drivers. Changes since April 1988 - 
  1210. Described a bug in 5.x which is fixed in 6.0 and later, and reiterated a 
  1211. warning about storing fonts in an application. With the release of 
  1212. LaserWriter 5.0 and background printing, a few changes had to be made to 
  1213. the LaserWriter driver.  Although these changes were transparent to most 
  1214. applications, some have had problems.  Most of these problems are related 
  1215. to use of unsupported features.  This Note details a partial list of the 
  1216. changes.
  1217.  
  1218.  Name  =  TN.191.Font Names
  1219.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.191.Font Names
  1220.  Size:  9K         Date: 2/15/91         Version: 
  1221.  AMUG file information and description:
  1222.  TN.191.Font Names - This note recommends the use of font names rather than 
  1223. font numbers. The Font Manager chapter of Inside Macintosh Volume IV claims
  1224. that font family numbers 0 through 127 are reserved for use by Apple, and 
  1225. numbers 128 through 255 are assigned by Apple for fonts created by software
  1226. developers. This is no longer true. Developer Technical Support does not 
  1227. assign font family numbers. You should only use font numbers to reference 
  1228. the system font (font 0) and application default font (font 1). All other 
  1229. fonts should be identified by name. The Font/DA Mover will renumber a font 
  1230. when moving it into a file containing a conflicting font family.
  1231.  
  1232.  Name  =  TN.190.WDs & MultiFinder
  1233.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.190.WDs & MultiFinder
  1234.  Size:  4K         Date: 2/15/91         Version: 
  1235.  AMUG file information and description:
  1236.  TN.190.WDs & MultiFinder - This technical note describes the way that 
  1237. working directories are handled under MultiFinder. Some versions of 
  1238. Technical Note #77 claim that you can open working directories with a 
  1239. unique ioWDProcID and that they will only be deallocated when “the system 
  1240. is rebooted.”
  1241.  
  1242.  Name  =  TN.189.Version Territory
  1243.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.189.Version Territory
  1244.  Size: 13K         Date: 2/15/91         Version: 
  1245.  AMUG file information and description:
  1246.  TN.189.Version Territory - This Technical Note describes the 'vers' 
  1247. resource supported by Finder 6.1 and later. Changes since October 1988: 
  1248. Changed MPW C code to reflect the changes in MPW C 3.1. Finder 6.1 
  1249. introduced a feature which allows the creator of a file to identify the 
  1250. version of that file as well as the version of a set of files which 
  1251. includes that file.  These version numbers are stored in 'vers' resources, 
  1252. and each contains a BCD form of the version number and a longer version 
  1253. message (which the Finder displays in the Get Info window for each file).
  1254.  
  1255.  Name  =  TN.188.ChangedResource
  1256.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.188.ChangedResource
  1257.  Size:  4K         Date: 2/15/91         Version: 
  1258.  AMUG file information and description:
  1259.  TN.188.ChangedResource - The toolbox trap ChangedResource is used to inform
  1260. the Resource Manager that the contents of a resource have changed and 
  1261. should be written to disk. The actual write occurs on the next call to 
  1262. WriteResource (for the specific resource) or UpdateResFile (for the 
  1263. resource file containing the specified resource). When called, 
  1264. ChangedResource reserves enough disk space to contain the changed resource.
  1265. A little-known “feature” of ChangedResource is that it reserves disk space 
  1266. every time it is called.
  1267.  
  1268.  Name  =  TN.187.ioPosOffset
  1269.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.187.ioPosOffset
  1270.  Size:  3K         Date: 2/15/91         Version: 
  1271.  AMUG file information and description:
  1272.  TN.187.ioPosOffset - The Device Manager chapter of Inside Macintosh Volume 
  1273. II says that ioPosOffset is passed to and returned by Read and Write calls.
  1274. It also says that “After the read [or write] is completed, the position is 
  1275. returned in ioPosOffset…” Actually, ioPosOffset is not changed by either 
  1276. call. Also note that device drivers should only look at the dCtlPosition 
  1277. field of the DCE, and should not look directly at the ioPosOffset field of 
  1278. the parameter block. The Device Manager sets up dCtlPosition for the 
  1279. driver, taking into account both the ioPosMode and the ioPosOffset.
  1280.  
  1281.  Name  =  TN.185.OpenRFPerm
  1282.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.185.OpenRFPerm
  1283.  Size:  4K         Date: 2/15/91         Version: 
  1284.  AMUG file information and description:
  1285.  TN.185.OpenRFPerm - This note corrects an error in the description of the 
  1286. Resource Manager routine OpenRFPerm found in Inside Macintosh Volume IV.
  1287.  
  1288.  Name  =  TN.184.Notification Manager
  1289.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.184.Notification Manager
  1290.  Size: 12K         Date: 2/15/91         Version: 
  1291.  AMUG file information and description:
  1292.  TN.184.Notification Manager - This Technical Note describes the 
  1293. Notification Manager, the part of the operating system that lets an 
  1294. application, desk accessory, or driver alert the user. Changes since 
  1295. October 1989:  Clarified the section on error handling for calls to 
  1296. _NMInstall.
  1297.  
  1298.  Name  =  TN.183.Position ind PS
  1299.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.183.Position ind PS
  1300.  Size:  7K         Date: 2/15/91         Version: 
  1301.  AMUG file information and description:
  1302.  TN.183.Position ind PS - This technical note describes a method for 
  1303. inserting position-independent PostScript into QuickDraw pictures. There is
  1304. a problem with pictures that contain PostScript code. Sometimes the 
  1305. PostScript code that is inserted into the picture is dependent on the 
  1306. position of the picture on the page. The problem arises when these pictures
  1307. are cut or copied from their original position, and pasted into another 
  1308. position or even into another document. The PostScript code will not know 
  1309. the new location of the picture, and will not execute correctly.
  1310.  
  1311.  Name  =  TN.182.WordBreak Tables
  1312.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.182.WordBreak Tables
  1313.  Size: 12K         Date: 2/15/91         Version: 
  1314.  AMUG file information and description:
  1315.  TN.182.WordBreak Tables - This technical note describes how to construct 
  1316. auxiliary break tables for use with the FindWord routine in the Script 
  1317. Manager. Constructing break tables - The FindWord algorithm finds word 
  1318. boundaries by determining where words should not be broken. For example, 
  1319. “re-do” is one word: it should not be broken at the hyphen. In other words,
  1320. a sequence of the form: (letter, hyphen, letter) should not be broken 
  1321. between the first and second or second and third character.
  1322.  
  1323.  Name  =  TN.181.Picture Comments
  1324.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.181.Picture Comments
  1325.  Size:  4K         Date: 2/15/91         Version: 
  1326.  AMUG file information and description:
  1327.  TN.181.Picture Comments - Application-specific picture comment conflict and
  1328. registration is addressed, along with Developer Technical Support’s method 
  1329. for solving it. I will assume that the nature and usefulness of picture 
  1330. comments are already well known.
  1331.  
  1332.  Name  =  TN.180.MultiFinder Miscellanea
  1333.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.180.MultiFinder Miscellanea
  1334.  Size: 24K         Date: 2/15/91         Version: 
  1335.  AMUG file information and description:
  1336.  TN.180.MultiFinder Miscellanea - This Technical Note discusses MultiFinder 
  1337. issues of which programmers should be aware. Changes since June 1988: 
  1338. Updated and generalized sample code to reflect new MPW 3.0 calls in both C 
  1339. and Pascal for saving and restoring A5 for interrupt code that accesses 
  1340. application globals.  Removed text that can be found in Programmer’s Guide 
  1341. to MultiFinder, and added a note about _PostEvent.
  1342.  
  1343.  Name  =  TN.179.ioNamePtr
  1344.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.179.ioNamePtr
  1345.  Size:  3K         Date: 2/15/91         Version: 
  1346.  AMUG file information and description:
  1347.  TN.179.ioNamePtr - It is very important to set ioNamePtr when making PB 
  1348. calls, even if you don’t want  those calls to return a name.  Whenever 
  1349. Inside Macintosh indicates that ioNamePtr is either required for input or 
  1350. returns something, you must set ioNamePtr to either nil (if you aren’t 
  1351. using a name) or to point to storage for a Str255. If you don’t explicitly 
  1352. set ioNamePtr, strange and unusual crashes may occur, depending on the 
  1353. machine/configuration your code is run on.
  1354.  
  1355.  Name  =  TN.178.Sorting
  1356.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.178.Sorting
  1357.  Size: 17K         Date: 2/15/91         Version: 
  1358.  AMUG file information and description:
  1359.  TN.178.Sorting - This technical note describes how to modify the standard 
  1360. string comparison by constructing an itl2 resource. Developers may want to 
  1361. modify the standard string comparison if Apple’s comparison doesn’t meet 
  1362. their needs or if Apple has not written a string comparison routine for the
  1363. language that concerns them.
  1364.  
  1365.  Name  =  TN.177.WNE Bug/1.0
  1366.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.177.WNE Bug/1.0
  1367.  Size:  4K         Date: 2/15/91         Version: 
  1368.  AMUG file information and description:
  1369.  TN.177.WNE Bug/1.0 - This Technical Note discusses a bug in WaitNextEvent 
  1370. in MultiFinder 1.0. This bug only occurs when WaitNextEvent is called from 
  1371. the background. This bug will be fixed in the next release of MultiFinder. 
  1372. Change since 11/87: the bug will be fixed in Systems with versions greater 
  1373. than $04FF.
  1374.  
  1375.  Name  =  TN.176.Installing SIMMs ƒ.dd
  1376.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.176.Installing SIMMs ƒ.dd
  1377.  Size:101K         Date: 2/15/91         Version: 
  1378.  AMUG file information and description:
  1379.  Tech Note 176 - This Technical Note describes the different possible memory
  1380. configurations of all models of the Macintosh family that use Single 
  1381. In-line Memory Modules (SIMMs) as well as the non-SIMM memory upgrade 
  1382. options of the Macintosh Portable and Macintosh Classic.  (Special thanks 
  1383. to Brian Howard for the Macintosh Plus and original SE drawings, and for 
  1384. the inspiration for the other drawings.)  This Note also describes the 
  1385. obstacles to using four megabit (Mbit) DRAM SIMMs in Apple’s Macintosh 
  1386. products to date. Changes since June 1990, Added Macintosh Classic, LC, and
  1387. IIsi configurations.
  1388.  
  1389.  Name  =  TN.175.SetLineWidth Revealed
  1390.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.175.SetLineWidth Revealed
  1391.  Size:  9K         Date: 2/15/91         Version: 
  1392.  AMUG file information and description:
  1393.  TN.175.SetLineWidth Revealed - This technical note describes the internal 
  1394. implementation, and correct method of using, the SetLineWidth Picture 
  1395. Comment. The SetLineWidth picture comment provides a way of accessing 
  1396. PostScript’s 'setlinewidth' operator.
  1397.  
  1398.  Name  =  TN.174.PrintAction
  1399.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.174.PrintAction
  1400.  Size:  7K         Date: 2/15/91         Version: 
  1401.  AMUG file information and description:
  1402.  TN.174.PrintAction - This technical note describes how Print Drivers can 
  1403. access the Script Manager Print Action routine to print unconventional 
  1404. text, such as Japanese or Arabic.
  1405.  
  1406.  Name  =  TN.173.PrGeneral Bug
  1407.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.173.PrGeneral Bug
  1408.  Size:  5K         Date: 2/15/91         Version: 
  1409.  AMUG file information and description:
  1410.  TN.173.PrGeneral Bug - This technical note documents a bug in the 
  1411. implementation of the PrGeneral procedure in the LaserWriter driver version
  1412. 4.0. The bug has to do with the format of the information returned by the 
  1413. GetRslData opcode. This technical note will also describe a workaround for 
  1414. the problem.
  1415.  
  1416.  Name  =  TN.172.Popup MDEF Message
  1417.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.172.Popup MDEF Message
  1418.  Size:  6K         Date: 2/15/91         Version: 
  1419.  AMUG file information and description:
  1420.  TN.172.Popup MDEF Message - In order to support popup menus, menu 
  1421. definition procedures (MDEFs) must now respond to a new message, mPopupMsg.
  1422. mPopupMsg is message number 3. When your MDEF is called with this message, 
  1423. it should calculate the rectangle in which the popup menu should appear.
  1424.  
  1425.  Name  =  TN.171._PackBits Data Format
  1426.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.171._PackBits Data Format
  1427.  Size:  6K         Date: 2/15/91         Version: 
  1428.  AMUG file information and description:
  1429.  TN.171._PackBits Data Format - This Technical Note describes the format of 
  1430. data packed by the Toolbox utility _PackBits.  Although you can simply 
  1431. unpack these files using the _UnPackBits call, we provide this information 
  1432. here for the terminally curious and for those manipulating MacPaint 
  1433. documents or PICT files by hand.  Warning:  This information is subject to 
  1434. change. Changes since March 1988:  Added information on PICT files which 
  1435. contain data from the _PackBits routine.
  1436.  
  1437.  Name  =  TN.167.AS Foreground
  1438.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.167.AS Foreground
  1439.  Size:  4K         Date: 2/15/91         Version: 
  1440.  AMUG file information and description:
  1441.  TN.167.AS Foreground - This technical note outlines the requirements and 
  1442. restrictions of an AppleShare foreground application. This information 
  1443. pertains to AppleShare versions 1.1 and newer. An AppleShare server 
  1444. requires a dedicated Macintosh. The server, however, is implemented as an 
  1445. interrupt-driven application that runs in the system heap of the server 
  1446. machine.
  1447.  
  1448.  Name  =  TN.166.C Glue
  1449.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.166.C Glue
  1450.  Size:  5K         Date: 2/15/91         Version: 
  1451.  AMUG file information and description:
  1452.  TN. 166.C Glue - MPW 2.0 includes new C interfaces to ROM routines which no
  1453. longer do string and point conversions. These new interfaces are described 
  1454. here. In MPW prior to 2.0, the C interfaces to Macintosh OS and Toolbox 
  1455. routines that had strings or points as arguments required following these 
  1456. rules 1. Strings must be passed as C strings (null terminated). 2. Points 
  1457. must be passed by address.
  1458.  
  1459.  Name  =  TN.165.AS Drop Folder
  1460.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.165.AS Drop Folder
  1461.  Size:  4K         Date: 2/15/91         Version: 
  1462.  AMUG file information and description:
  1463.  TN.165.AS Drop Folder - This technical note outlines the steps an 
  1464. application must take to create files inside AppleShare drop folders. The 
  1465. AppleShare File Server allows the creation of drop folders. These are 
  1466. folders for which the user has the Make Changes privilege (write access), 
  1467. but not See Files (read access) or See Folders (search access). For an 
  1468. application to create a file in such a folder, the following procedure must
  1469. be executed in strict order:
  1470.  
  1471.  Name  =  TN.164.MPW C Functions
  1472.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.164.MPW C Functions
  1473.  Size:  4K         Date: 2/15/91         Version: 
  1474.  AMUG file information and description:
  1475.  TN.164.MPW C Functions - Here’s the low-down on when C functions need not 
  1476. be declared in include files. “The include files are all screwed up!” 
  1477. This is a common misconception people have when they look through the MPW C
  1478. include files.  People report that the declaration of a ROM or system call 
  1479. foo() has been mistakenly left out of this or that include file.  Here’s 
  1480. the low-down on when functions do not have to be declared in an include 
  1481. file.
  1482.  
  1483.  Name  =  TN.163.Colorizing CopyBits
  1484.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.163.Colorizing CopyBits
  1485.  Size:  7K         Date: 2/15/91         Version: 
  1486.  AMUG file information and description:
  1487.  TN.163.Colorizing CopyBits - Inside Macintosh Volume V states that the 
  1488. foreground and background colors are applied to an image during a CopyBits 
  1489. or CopyMask call. Accidental use of this feature can create bizarre 
  1490. coloring effects. This note explains what happens, how to avoid problems, 
  1491. and how to use it.
  1492.  
  1493.  Name  =  TN.162.MPW 2.0 Pascal Bug
  1494.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.162.MPW 2.0 Pascal Bug
  1495.  Size:  3K         Date: 2/15/91         Version: 
  1496.  AMUG file information and description:
  1497.  TN.162.MPW 2.0 Pascal Bug - This note formerly described a bug in the MPW 
  1498. 2.0 Pascal compiler. This bug has been fixed in MPW 2.0.2.
  1499.  
  1500.  Name  =  TN.161.Printing Loop That Cares
  1501.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.161.Printing Loop That Cares
  1502.  Size: 16K         Date: 2/15/91         Version: 
  1503.  AMUG file information and description:
  1504.  TN.161.Printing Loop That Cares - This Technical Note discusses opening and
  1505. closing the Printing Manager with calls to _PrOpen and _PrClose as well as 
  1506. how to handle errors at print time. Changes since October 1989:  Added the 
  1507. section on error checking, incorporating the error code descriptions 
  1508. formerly found in Technical Note #72, Optimizing For The 
  1509. LaserWriter—Techniques and an updated version of the information formerly 
  1510. found in Technical Note #118, How To Check and Handle Printing Errors.
  1511.  
  1512.  Name  =  TN.159.Hard Disk Hacking
  1513.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.159.Hard Disk Hacking
  1514.  Size:  4K         Date: 2/15/91         Version: 
  1515.  AMUG file information and description:
  1516.  TN.159.Hard Disk Hacking - For those of a technical bent with some extra 
  1517. time, you can build your own hard disk system from a cheap SCSI drive and a
  1518. driver that you write. This is not a project for those short on time, so 
  1519. beware.
  1520.  
  1521.  Name  =  TN.158.MultiFinder Questions
  1522.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.158.MultiFinder Questions
  1523.  Size: 12K         Date: 2/15/91         Version: 
  1524.  AMUG file information and description:
  1525.  TN.158.MultiFinder Questions - This technical note provides answers to some
  1526. of the more frequently asked questions about MultiFinder. The development 
  1527. name for MultiFinder was Juggler, so the term “juggle” is used in this 
  1528. technical note to denote a context switch.
  1529.  
  1530.  Name  =  TN.157.Problem with GetVInfo
  1531.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.157.Problem with GetVInfo
  1532.  Size:  7K         Date: 2/15/91         Version: 
  1533.  AMUG file information and description:
  1534.  TN.157.Problem with GetVInfo - The high-level call GetVInfo (and its 
  1535. low-level counterpart PBGetVInfo) may return inaccurate results for 
  1536. freeBytes when running HFS. The high-level File Manager call GetVInfo 
  1537. returns the number of free bytes on a volume as one of its parameters. 
  1538.  
  1539.  Name  =  TN.156.Identifying Features
  1540.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.156.Identifying Features
  1541.  Size:  8K         Date: 2/15/91         Version: 
  1542.  AMUG file information and description:
  1543.  TN.156.Identifying Features - This technical note explains how to check at 
  1544. run time to see if specific functionality, such as the “new” TextEdit, is 
  1545. present.
  1546.  
  1547.  Name  =  TN.155.Handles vs. Pointers
  1548.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.155.Handles vs. Pointers
  1549.  Size:  4K         Date: 2/15/91         Version: 
  1550.  AMUG file information and description:
  1551.  TN.155.Handles vs. Pointers - A handle is a handle and a pointer is a 
  1552. pointer. Applications should avoid embedding non-relocatable objects (that 
  1553. the system assumes will never move) in handles.
  1554.  
  1555.  Name  =  TN.154.Large PICT Files
  1556.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.154.Large PICT Files
  1557.  Size: 11K         Date: 2/15/91         Version: 
  1558.  AMUG file information and description:
  1559.  TN.154.Large PICT Files - Now that we have scanners and other 
  1560. massive-picture producing types of applications, there is a need to address
  1561. the problem of how to display a PICT format object that is bigger than a 
  1562. current PICT resource is allowed to be. Note that this technique applies 
  1563. equally well to version 1 and version 2 (word-opcode) pictures as produced 
  1564. by the Macintosh II.
  1565.  
  1566.  Name  =  TN.153.New IU
  1567.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.153.New IU
  1568.  Size:  7K         Date: 2/15/91         Version: 
  1569.  AMUG file information and description:
  1570.  TN.153.New IU - The International Utilities package and the international 
  1571. resources have been changed with System file 4.1 to take advantage of the 
  1572. Script Manager.
  1573.  
  1574.  Name  =  TN.152.Laser Prep Routines
  1575.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.152.Laser Prep Routines
  1576.  Size:  6K         Date: 2/15/91         Version: 
  1577.  AMUG file information and description:
  1578.  TN.152.Laser Prep Routines - This technical note addresses the issues 
  1579. involved in depending on the procedures and constants defined in the Laser 
  1580. Prep dictionary.
  1581.  
  1582.  Name  =  TN.151.System Error 33
  1583.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.151.System Error 33
  1584.  Size:  4K         Date: 2/15/91         Version: 
  1585.  AMUG file information and description:
  1586.  TN.151.System Error 33 - System 3.2 introduced a new system error, ID=33, 
  1587. generated by the Memory Manager when it notices that a heap had been 
  1588. corrupted in a certain way. This error is listed in the file “SysErr.a” as 
  1589. “negZcbFreeErr”.
  1590.  
  1591.  Name  =  TN.150.SE Disk Driver Bug
  1592.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.150.SE Disk Driver Bug
  1593.  Size:  3K         Date: 2/15/91         Version: 
  1594.  AMUG file information and description:
  1595.  TN.150.SE Disk Driver Bug - A bug in the Macintosh SE ROMs causes the top 
  1596. drive to be slower than the bottom one in two-drive machines. This bug is 
  1597. fixed in System 4.2 and newer.
  1598.  
  1599.  Name  =  TN.149.Document Names
  1600.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.149.Document Names
  1601.  Size:  4K         Date: 2/15/91         Version: 
  1602.  AMUG file information and description:
  1603.  TN.149.Document Names - Our compatibility testing for LaserShare (Apple’s 
  1604. LaserWriter spooler) has turned up a number of applications that do not 
  1605. provide the Printing Manager with a document name; although this feature is
  1606. not required, it is nice for users that share printers.
  1607.  
  1608.  Name  =  TN.148.Mac II Board Suppliers
  1609.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.148.Mac II Board Suppliers
  1610.  Size:  4K         Date: 2/15/91         Version: 
  1611.  AMUG file information and description:
  1612.  TN.148.Mac II Board Suppliers - This note lists suppliers of parts that may
  1613. be helpful for Macintosh II board developers. If your company supplies 
  1614. these parts, but is not listed here, please send a message to us (at the 
  1615. address on Technical Note #0) and we’ll include you in the next revision of
  1616. this technical note.
  1617.  
  1618.  Name  =  TN.147.Finder Notes
  1619.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.147.Finder Notes
  1620.  Size:  4K         Date: 2/15/91         Version: 
  1621.  AMUG file information and description:
  1622.  TN.147.Finder Notes - The Finder has undergone a couple of changes you 
  1623. should keep in mind when creating the “bundle” information for your 
  1624. application.
  1625.  
  1626.  Name  =  TN.146.MPW’s -mc68881 Option
  1627.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.146.MPW’s -mc68881 Option
  1628.  Size:  9K         Date: 2/15/91         Version: 
  1629.  AMUG file information and description:
  1630.  TN.146.MPW’s -mc68881 Option - This Technical Note discusses MPW’s -mc68881
  1631. option, which represents Extended values in 96 bits (instead of 80, as with
  1632. software SANE), and compatibility issues when using non-SANE system calls 
  1633. that expect 80-bit Extended values. Changes since March 1988:  Added a 
  1634. warning to explicitly check for the presence of an FPU if an application 
  1635. uses floating point instructions and removed a sentence which implied that 
  1636. all Macintosh II-class machines would have built-in FPUs.
  1637.  
  1638.  Name  =  TN.145.Debugger FKEY
  1639.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.145.Debugger FKEY
  1640.  Size:  4K         Date: 2/15/91         Version: 
  1641.  AMUG file information and description:
  1642.  TN.145.Debugger FKEY - This Technical Note formerly discussed showed how to
  1643. write an 'FKEY' to trap to the debugger. Changes since March 1988:  Merged 
  1644. the contents of this Note into Technical Note #256, Stand-Alone Code, ad 
  1645. nauseam. This Note formerly showed how to write an 'FKEY' resource to trap 
  1646. to the debugger.  This information is now an example of writing stand-alone
  1647. code resources in Technical Note #256, Stand-Alone Code, ad nauseam.
  1648.  
  1649.  Name  =  TN.143.Don’t Call ADBReInit
  1650.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.143.Don’t Call ADBReInit
  1651.  Size:  3K         Date: 2/15/91         Version: 
  1652.  AMUG file information and description:
  1653.  TN.143.Don’t Call ADBReInit - Because of a bug (which causes auto-repeat) 
  1654. in the ROM version of the Macintosh SE keyboard driver, a patch was placed 
  1655. in System 4.1. If ADBReInit is called, the ROM version of the keyboard 
  1656. driver will be reloaded, and the RAM version of the driver with the patches
  1657. will not be used. Therefore, it is recommended that ADBReInit not be called
  1658. on the Macintosh SE until the problem is fixed. (There is no need to call 
  1659. ADBReInit.) This problem will not occur with the Macintosh II ROM version 
  1660. of the keyboard driver.
  1661.  
  1662.  Name  =  TN.142.Network Events
  1663.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.142.Network Events
  1664.  Size:  5K         Date: 2/15/91         Version: 
  1665.  AMUG file information and description:
  1666.  TN.142.Network Events - Future System software enhancements will not 
  1667. support network events. This note gives hints on weaning your application 
  1668. from the use of network events.
  1669.  
  1670.  Name  =  TN.141.Number of Resources
  1671.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.141.Number of Resources
  1672.  Size:  4K         Date: 2/15/91         Version: 
  1673.  AMUG file information and description:
  1674.  TN.141.Number of Resources - This note describes the limitation of the 
  1675. number of resources in a single resource file. There is a limit to the 
  1676. number of the resources in a single resource file. This limitation is 
  1677. imposed by the resource map. There are two bytes at the end of the resource
  1678. map which are the offset from the beginning of the resource map to the 
  1679. beginning of the resource names list. 
  1680.  
  1681.  Name  =  TN.140.PBHSetVol
  1682.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.140.PBHSetVol
  1683.  Size:  4K         Date: 2/15/91         Version: 
  1684.  AMUG file information and description:
  1685.  TN.140.PBHSetVol - This note explains PBHSetVol, and why its use is not 
  1686. recommended. PBHSetVol, like SetVol and PBSetVol, allows you to set the 
  1687. current default volume and directory to be used with subsequent File 
  1688. Manager calls. Unlike SetVol and PBSetVol, though, PBHSetVol lets you 
  1689. specify the volume and the directory separately, using the ioVRefNum and 
  1690. ioWDDirID fields.
  1691.  
  1692.  Name  =  TN.139.Macintosh Plus ROMs
  1693.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.139.Macintosh Plus ROMs
  1694.  Size:  4K         Date: 2/15/91         Version: 
  1695.  AMUG file information and description:
  1696.  TN.139.Macintosh Plus ROMs - Readers Digest condensed version of Macintosh 
  1697. Plus ROM history, or the truth according to Bo3bdar the everpresent: 1st 
  1698. version (Lonely Hearts, checksum 4D 1E EE E1): Bug in the SCSI driver; 
  1699. won’t boot if external drive is turned off. We only produced about one and 
  1700. a half months worth of these. 2nd version (Lonely Heifers, checksum 4D 1E 
  1701. EA E1): Fixed boot bug. This version is the vast majority of beige 
  1702. Macintosh Pluses.
  1703.  
  1704.  Name  =  TN.138.KanjiTalk
  1705.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.138.KanjiTalk
  1706.  Size:  4K         Date: 2/15/91         Version: 
  1707.  AMUG file information and description:
  1708.  TN.138.KanjiTalk - This Technical Note describes the minor differences 
  1709. between using KanjiTalk with the Japanese Macintosh Plus and KanjiTalk with
  1710. a standard Macintosh Plus.
  1711.  
  1712.  Name  =  TN.137.AppleShare 1.1 Bug
  1713.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.137.AppleShare 1.1 Bug
  1714.  Size:  4K         Date: 2/15/91         Version: 
  1715.  AMUG file information and description:
  1716.  TN.137.AppleShare 1.1 Bug - A bug has been discovered in AppleShare 1.1’s 
  1717. implementation of the AppleTalk Filing Protocol FPMove call. This bug only 
  1718. affects developers implementing custom workstation access code that will 
  1719. access AppleShare 1.1 servers from non-Macintosh systems (such as MS-DOS 
  1720. systems); if the guidelines below are not followed, data loss may result.
  1721.  
  1722.  Name  =  TN.136.A5 & GrowZone
  1723.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.136.A5 & GrowZone
  1724.  Size:  4K         Date: 2/15/91         Version: 
  1725.  AMUG file information and description:
  1726.  TN.136.A5 & GrowZone - If you have a grow zone function, it may get called 
  1727. when a system routine is trying to allocate memory. Because this can 
  1728. happen, you can’t be guaranteed that register A5 will be correct. If your 
  1729. grow zone function depends on A5, you should save register A5, load A5 from
  1730. the low-memory global CurrentA5 (a long word at $904), and restore the 
  1731. caller’s A5 before you exit.
  1732.  
  1733.  Name  =  TN.135.Getting thru CUSToms
  1734.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.135.Getting thru CUSToms
  1735.  Size: 27K         Date: 2/15/91         Version: 
  1736.  AMUG file information and description:
  1737.  TN.135.Getting thru CUSToms - This technical note provides a way for 
  1738. developers to allow sophisticated users to add code to an off-the-shelf 
  1739. application.  Using this scheme, the user can easily install the code 
  1740. module; the application has to know how to call it and, optionally, be able
  1741. to respond to a set of predefined calls from the custom package. 
  1742.  
  1743.  Name  =  TN.134.Boot problems
  1744.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.134.Boot problems
  1745.  Size: 26K         Date: 2/15/91         Version: 
  1746.  AMUG file information and description:
  1747.  TN.134.Boot problems - The death of a hard disk with megabytes worth of 
  1748. data can be exceedingly traumatic. This technical note will describe 
  1749. techniques for recovering a hard disk and the data that is on it. The 
  1750. discussion will also include some tips on how to avoid problems.
  1751.  
  1752.  Name  =  TN.133.Is This a Spooler?
  1753.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.133.Is This a Spooler?
  1754.  Size:  4K         Date: 2/15/91         Version: 
  1755.  AMUG file information and description:
  1756.  TN.133.Is This a Spooler? - When the LaserShare spooler is on an AppleTalk 
  1757. network, it acts like a LaserWriter-type device, which can be chosen and 
  1758. communicated with much like a real LaserWriter. Some applications, however,
  1759. must communicate with a LaserWriter directly, not a spooler. If this is 
  1760. true for your application, you can check whether you are actually talking 
  1761. to a real LaserWriter by sending to the LaserWriter the following query:
  1762.  
  1763.  Name  =  TN.132.AppleTalk Interfaces
  1764.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.132.AppleTalk Interfaces
  1765.  Size:  6K         Date: 2/15/91         Version: 
  1766.  AMUG file information and description:
  1767.  TN.132.AppleTalk Interfaces - Technical Note #121 announced that we would 
  1768. be moving to a simplified AppleTalk Manager interface. That interface is 
  1769. available now, as part of MPW 2.0 and newer. Documentation for this new 
  1770. interface is contained in the AppleTalk Manager chapter of Inside Macintosh
  1771. Volume V. This technical note contains some of the preliminary 
  1772. documentation for this interface and some useful points about information 
  1773. about it, and AppleTalk in general.
  1774.  
  1775.  Name  =  TN.131.TextEdit Bugs in 4.2
  1776.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.131.TextEdit Bugs in 4.2
  1777.  Size:  6K         Date: 2/15/91         Version: 
  1778.  AMUG file information and description:
  1779.  TN.131.TextEdit Bugs in 4.2 - This note formerly described the known bugs 
  1780. with the version of Styled TextEdit that was provided with System 4.1. Many
  1781. of these bugs were fixed in System 4.2. This updated Technical Note 
  1782. describes the remaining known problems. TEStylInsert - Calling TEStylInsert
  1783. while the TextEdit record is deactivated causes unpredictable results, so 
  1784. make sure to only call TEStylInsert when the TextEdit record is active.
  1785.  
  1786.  Name  =  TN.130.ioCompletion
  1787.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.130.ioCompletion
  1788.  Size:  3K         Date: 2/15/91         Version: 
  1789.  AMUG file information and description:
  1790.  TN.130.ioCompletion - When making synchronous calls to the File Manager, it
  1791. is not necessary to clear ioCompletion field of the parameter block, since 
  1792. that is done for you. Some earlier technotes explicitly cleared 
  1793. ioCompletion, with the knowledge that this was unnecessary, to try to 
  1794. encourage developers to fill in all fields of parameter blocks as indicated
  1795. in Inside Macintosh.  By the way, this is true of all parameter calls—you 
  1796. only have to set fields that are explicitly required.
  1797.  
  1798.  Name  =  TN.129._Gestalt & _SysEnvirons
  1799.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.129._Gestalt & _SysEnvirons
  1800.  Size:  9K         Date: 2/15/91         Version: 
  1801.  AMUG file information and description:
  1802.  Tech Note 129, _Gestalt & _SysEnvir Copyright(C)1990 Apple Computer. This 
  1803. Technical Note discusses latest changes and enhancements in the _Gestalt 
  1804. and _SysEnvirons calls. Changes since June 1990:  Added new machine and 
  1805. keyboard constants for _SysEnvirons and also added a section on new 
  1806. selectors and response values for _Gestalt. Previous versions of this Note 
  1807. provided the latest documentation on new information the _SysEnvirons trap 
  1808. could return.  DTS will continue to revise this Note to provide this 
  1809. information; however, as the _Gestalt trap is now the preferred method for 
  1810. determining information about a machine environment, this Note will also 
  1811. provide up-to-date information on _Gestalt selectors.
  1812.  
  1813.  Name  =  TN.128.PrGeneral
  1814.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.128.PrGeneral
  1815.  Size: 15K         Date: 2/15/91         Version: 
  1816.  AMUG file information and description:
  1817.  TN.128.PrGeneral - The Printing Manager architecture has been expanded to 
  1818. include a new procedure called PrGeneral. The features described here are 
  1819. advanced, special-purpose features, intended to solve specific problems for
  1820. those applications that need them. The calls to determine printer 
  1821. resolution introduce a good deal of complexity into the application’s code,
  1822. and should be used only when necessary.
  1823.  
  1824.  Name  =  TN.127.TextEdit EOL
  1825.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.127.TextEdit EOL
  1826.  Size:  4K         Date: 2/15/91         Version: 
  1827.  AMUG file information and description:
  1828.  TN.127.TextEdit EOL - TESetSelect may be used to position the insertion 
  1829. point at the end of a line. There is an ambiguity, though; should the 
  1830. insertion point appear at the end of the preceding line or the start of the
  1831. following one? It is possible to determine what will happen, as you are 
  1832. about to see.
  1833.  
  1834.  Name  =  TN.126.Sub(Launching) H-L Lang
  1835.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.126.Sub(Launching) H-L Lang
  1836.  Size: 14K         Date: 2/15/91         Version: 
  1837.  AMUG file information and description:
  1838.  TN.126.Sub(Launching) H-L Lang - Note: Developer Technical Support takes 
  1839. the view that launching and sublaunching are features which are best 
  1840. avoided for compatibility (and other) reasons, but we want to make sure 
  1841. that when it is absolutely necessary to implement it, it is done in the 
  1842. safest possible way. This Technical Note discusses the “safest” method of 
  1843. calling _Launch from a high-level language that supports inline assembly 
  1844. language with the option of launching or sublaunching another application.
  1845.  
  1846.  Name  =  TN.125.Spool/Print Shared
  1847.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.125.Spool/Print Shared
  1848.  Size:  4K         Date: 2/15/91         Version: 
  1849.  AMUG file information and description:
  1850.  TN.125.Spool/Print Shared - This technical note discusses drawbacks of 
  1851. using the spool-a-page/ print-a-page method of printing. The 
  1852. “spool-a-page/print-a-page” method of printing prints each page of a 
  1853. document as a separate job instead of calling PrPicFile to print the entire
  1854. picture file. Many applications adopted this method of printing to avoid 
  1855. running out of disk space while the ImageWriter driver was spooling the 
  1856. document to disk.
  1857.  
  1858.  Name  =  TN.124.Low-Level Printing
  1859.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.124.Low-Level Printing
  1860.  Size:  3K         Date: 2/15/91         Version: 
  1861.  AMUG file information and description:
  1862.  TN.124.Low-Level Printing - When you use the low-level printer driver to 
  1863. print, you don’t get the benefits of the error checking that is done when 
  1864. you use the high-level Printing Manager. So, if the user prints to an 
  1865. AppleTalk ImageWriter (including an AppleTalk ImageWriter LQ) that is busy 
  1866. printing another job, the driver doesn’t know whether the printer is busy, 
  1867. offline, or disconnected.  Because of this, PrError will return (and 
  1868. PrintErr will contain) abortErr.
  1869.  
  1870.  Name  =  TN.123.LaserWriter ROM Bugs
  1871.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.123.LaserWriter ROM Bugs
  1872.  Size:  5K         Date: 2/15/91         Version: 
  1873.  AMUG file information and description:
  1874.  TN.123.LaserWriter ROM Bugs - These are LaserWriter bugs that your users 
  1875. may encounter when printing from any Macintosh application. These are for 
  1876. your information; you cannot code around them. The bugs described here 
  1877. occur in the 1.0 and 2.0 LaserWriter ROMs.
  1878.  
  1879.  Name  =  TN.122.Dev.-Ind. Printing
  1880.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.122.Dev.-Ind. Printing
  1881.  Size:  4K         Date: 2/15/91         Version: 
  1882.  AMUG file information and description:
  1883.  TN.122.Dev.-Ind. Printing - The Printing Manager was designed to give 
  1884. Macintosh applications a device- independent method of printing, but we 
  1885. have provided device-dependent information, such as the contents of the 
  1886. print record. Due to the large number of printer-type drivers becoming 
  1887. available (even for non-printer devices) device independence is more 
  1888. necessary than ever. What this means to you, as a developer, is that we 
  1889. will no longer be providing (or supporting) information regarding the 
  1890. internal structure of the print record. 
  1891.  
  1892.  Name  =  TN.121.AppleTalk Interfaces
  1893.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.121.AppleTalk Interfaces
  1894.  Size:  4K         Date: 2/15/91         Version: 
  1895.  AMUG file information and description:
  1896.  TN.121.AppleTalk Interfaces - What you need to do in order to use 
  1897. high-level AppleTalk routines depends upon the interfaces you are using. 
  1898. Some differences are outlined below.
  1899.  
  1900.  Name  =  TN.120.Off-Screen Pixel Map
  1901.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.120.Off-Screen Pixel Map
  1902.  Size: 15K         Date: 2/15/91         Version: 
  1903.  AMUG file information and description:
  1904.  TN.120.Off-Screen Pixel Map - This Technical Note provides a simple example
  1905. of drawing to, then copying from, an off-screen pixel map. Changes since 
  1906. October 1988:  Made changes to the code which convert GDevice color look-up
  1907. tables (clut) to pixel map color look-up tables so _CopyBits will copy the 
  1908. color information correctly.  This information is especially important for 
  1909. color printing.
  1910.  
  1911.  Name  =  TN.119.Color QuickDraw?
  1912.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.119.Color QuickDraw?
  1913.  Size:  3K         Date: 2/15/91         Version: 
  1914.  AMUG file information and description:
  1915.  TN.119.Color QuickDraw? - This note formely described a way to determine if
  1916. Color QuickDraw is present on a particular machine. We now recommend that 
  1917. you call SysEnvirons to find out, as described in Technical Note #129.
  1918.  
  1919.  Name  =  TN.118.Printing Errors
  1920.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.118.Printing Errors
  1921.  Size:  3K         Date: 2/15/91         Version: 
  1922.  AMUG file information and description:
  1923.  TN.118.Printing Errors - This Technical Note formerly described how to 
  1924. check and properly handle errors that occur during printing with the 
  1925. Printing Manager. Changes since March 1988:  Merged contents into Technical
  1926. Note #161. This Note formerly described how to check and properly handle 
  1927. Printing Manager errors.  This information is now contained in Technical 
  1928. Note #161, A Printing Loop That Cares…, which also includes a table of 
  1929. Printing Manager error codes.
  1930.  
  1931.  Name  =  TN.117.Compatibility
  1932.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.117.Compatibility
  1933.  Size: 48K         Date: 2/15/91         Version: 
  1934.  AMUG file information and description:
  1935.  TN.117.Compatibility - While creating or revising any program for the 
  1936. Macintosh, you should be aware of the most common reasons why programs fail
  1937. on various versions of the Macintosh. This note will detail some common 
  1938. failure modes, why they occur, and how to avoid them.
  1939.  
  1940.  Name  =  TN.116.SharingApps
  1941.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.116.SharingApps
  1942.  Size:  7K         Date: 2/15/91         Version: 
  1943.  AMUG file information and description:
  1944.  TN.116.SharingApps - Normally, applications on an AppleShare server volume 
  1945. cannot be executed by more than one user at a time. This technical note 
  1946. explains why, and tells how you can enable your application to be shared.
  1947.  
  1948.  Name  =  TN.115.Stationery
  1949.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.115.Stationery
  1950.  Size:  6K         Date: 2/15/91         Version: 
  1951.  AMUG file information and description:
  1952.  TN.115.Stationery - With the introduction of AppleShare (Apple’s file 
  1953. server) there are restrictions on self-modification of application resource
  1954. files and the placement of configuration files. This note describes one way
  1955. to get around the necessity for configuration files.
  1956.  
  1957.  Name  =  TN.114.AppleShare/Old Finder
  1958.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.114.AppleShare/Old Finder
  1959.  Size:  3K         Date: 2/15/91         Version: 
  1960.  AMUG file information and description:
  1961.  TN.114.AppleShare/Old Finder - A rumor has been spread that if you use a 
  1962. pre-AppleShare Finder on a workstation to access AppleShare volumes, you 
  1963. can bypass AppleShare’s “access privilege” mechanisms.
  1964.  
  1965.  Name  =  TN.113.Boot Blocks
  1966.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.113.Boot Blocks
  1967.  Size:  4K         Date: 2/15/91         Version: 
  1968.  AMUG file information and description:
  1969.  TN.113.Boot Blocks - There are two undocumented features of the Boot 
  1970. Blocks. This note will describe how they currently work. Warning: The 
  1971. format and functionality of the Boot Blocks will change in the future; 
  1972. dependence on this information may cause your program to fail on future 
  1973. hardware or with future System software.
  1974.  
  1975.  Name  =  TN.112.FindDItem
  1976.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.112.FindDItem
  1977.  Size:  3K         Date: 2/15/91         Version: 
  1978.  AMUG file information and description:
  1979.  TN.112.FindDItem - FindDItem is a potentially useful call which returns the
  1980. number of a dialog item given a point in local coordinates and a dialog 
  1981. handle. It returns an item number of –1 if no item’s rectangle overlaps the
  1982. point. This is all well and good, except you don’t get back quite what you 
  1983. would expect.
  1984.  
  1985.  Name  =  TN.111.MoveHHi/SetResPurge
  1986.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.111.MoveHHi/SetResPurge
  1987.  Size:  3K         Date: 2/15/91         Version: 
  1988.  AMUG file information and description:
  1989.  TN.111.MoveHHi/SetResPurge - SetResPurge(TRUE) is called to make the Memory
  1990. Manager call the Resource Manager before purging a block specified by a 
  1991. handle. If the handle is a handle to a resource, and its resChanged bit is 
  1992. set, the resource data will be written out (using WriteResource).
  1993.  
  1994.  Name  =  TN.110.MPW Stand-Alone Code
  1995.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.110.MPW Stand-Alone Code
  1996.  Size:  4K         Date: 2/15/91         Version: 
  1997.  AMUG file information and description:
  1998.  TN.110.MPW Stand-Alone Code - This Technical Note formerly discussed using 
  1999. MPW Pascal and C to write stand-alone code, such as 'WDEF', 'LDEF', 'INIT',
  2000. and 'FKEY' resources. Changes since February 1990:  Merged the contents of 
  2001. this Note into Technical Note #256, Stand-Alone Code, ad nauseam.This Note 
  2002. formerly discussed using MPW Pascal and C to write stand-alone code.  This 
  2003. information has been expanded and is now contained in Technical Note #256, 
  2004. Stand-Alone Code, ad nauseam.
  2005.  
  2006.  Name  =  TN.109.Bug in MPW 1.0
  2007.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.109.Bug in MPW 1.0
  2008.  Size:  3K         Date: 2/15/91         Version: 
  2009.  AMUG file information and description:
  2010.  TN.109.Bug in MPW 1.0 - This note formerly described a problem in the 
  2011. language libraries for MPW 1.0. This bug is fixed in MPW 1.0.2, available 
  2012. from APDA.
  2013.  
  2014.  Name  =  TN.108.AddDrive DrvrInstall and
  2015.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.108.AddDrive DrvrInstall and
  2016.  Size:  6K         Date: 2/15/91         Version: 
  2017.  AMUG file information and description:
  2018.  TN.108.AddDrive DrvrInstall and - AddDrive, _DrvrInstall, and _DrvrRemove 
  2019. are used in the sample SCSI driver in the SCSI Development Package, which 
  2020. is available from APDA.  This Technical Note documents the parameters for 
  2021. these calls. Changes since March 1, 1988:  Updated the _DrvrInstall text to
  2022. reflect the use of register A0, which should contain a pointer to the 
  2023. driver when called.  Also added simple glue code for _DrvrInstall and 
  2024. _DrvrRemove since none is available in the MPW interfaces.
  2025.  
  2026.  Name  =  TN.107.Nulls in Filenames
  2027.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.107.Nulls in Filenames
  2028.  Size:  4K         Date: 2/15/91         Version: 
  2029.  AMUG file information and description:
  2030.  TN.107.Nulls in Filenames - Some applications (loosely speaking so as to 
  2031. include Desk Accessories, INITs, and what-have-you) generate or rename 
  2032. special files on the fly so that they are not explicitly named by the user 
  2033. via SFPutFile. Since the Macintosh file system is very liberal about 
  2034. filenames and only excludes colons from the list of acceptable characters, 
  2035. this can lead to some difficulties, both for the end user and for writers 
  2036. of other programs which may see these files.
  2037.  
  2038.  Name  =  TN.106.VCBs and Drive #s
  2039.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.106.VCBs and Drive #s
  2040.  Size:  4K         Date: 2/15/91         Version: 
  2041.  AMUG file information and description:
  2042.  TN.106.VCBs and Drive #s - The top of page IV-178 in The File Manager 
  2043. chapter of Inside Macintosh in attempts to explain the behavior of two 
  2044. fields in a volume control block when the corresponding disk is offline or 
  2045. ejected. Due to the fact that a little bit is left unsaid, this paragraph 
  2046. is rather misleading. The two fields in question are vcbDrvNum and 
  2047. vcbDRefNum (referred to as ioVDrvInfo and ioVDRefNum in C and Pascal). 
  2048. PBHGetVInfo can be used to access these fields.
  2049.  
  2050.  Name  =  TN.105.Object Pascal
  2051.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.105.Object Pascal
  2052.  Size:  4K         Date: 2/15/91         Version: 
  2053.  AMUG file information and description:
  2054.  TN.105.Object Pascal - Object Pascal must have a CODE segment named 
  2055. %_MethTables in order to access object methods. In MacApp this is taken 
  2056. care of “behind the scenes” so you don’t have to worry about it . However, 
  2057. if you are doing a straight Object Pascal program, you must make sure that 
  2058. %_MethTables is around when you need it. If it’s unloaded when you call a 
  2059. method, your Macintosh will begin executing wild noncode and die a gruesome
  2060. and horrible death.
  2061.  
  2062.  Name  =  TN.104.Globals from Asm
  2063.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.104.Globals from Asm
  2064.  Size:  7K         Date: 2/15/91         Version: 
  2065.  AMUG file information and description:
  2066.  TN.104.Globals from Asm - This technical note demonstrates how to access 
  2067. MPW Pascal and MPW C globals from the MPW Assembler. To allow access of MPW
  2068. Pascal globals from the MPW Assembler, you need to identify the variables 
  2069. that you wish to access as external.  To do this, use the {$Z+} compiler 
  2070. option.  Using the {$Z+} option can substantially increase the size of the 
  2071. object file due to the additional symbol information (no additional code is
  2072. generated and the symbol information is stripped by the linker). 
  2073.  
  2074.  Name  =  TN.103.128K ROM/Asm
  2075.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.103.128K ROM/Asm
  2076.  Size:  5K         Date: 2/15/91         Version: 
  2077.  AMUG file information and description:
  2078.  TN.103.128K ROM/Asm - When calling MaxApplZone and MoveHHi from assembly 
  2079. language, be sure to get the correct code. MaxApplZone and MoveHHi were 
  2080. marked [Not in ROM] in Inside Macintosh, Volumes I-III . They are ROM calls
  2081. in the 128K ROM. Since they are not in the 64K ROM, if you want your 
  2082. program to work on 64K ROM routines it is necessary to call the routines by
  2083. a JSR to a glue (library) routine instead of using the actual trap macro.
  2084.  
  2085.  Name  =  TN.102.HFS Elucidations
  2086.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.102.HFS Elucidations
  2087.  Size: 13K         Date: 2/15/91         Version: 
  2088.  AMUG file information and description:
  2089.  TN.102.HFS Elucidations - This technical note will describe a few problems 
  2090. that can occur while using HFS. It will also describe ways to avoid these 
  2091. problems. This technical note will discuss the following problems. 1) It is
  2092. very important to be careful about how files are opened and closed. There 
  2093. must be no more than one close for every open. 2) Don’t use Driver names, 
  2094. like .Bout, .Print or .Sony, in place of file names or the file system will
  2095. become confused. 3) Be aware of the ioFlVersNum byte in all file calls. A 
  2096. number of pieces of the Macintosh system do not use, and may in fact 
  2097. ignore, files created with non-zero ioFlVersNums.
  2098.  
  2099.  Name  =  TN.101.CreateResFile & PMSP
  2100.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.101.CreateResFile & PMSP
  2101.  Size:  8K         Date: 2/15/91         Version: 
  2102.  AMUG file information and description:
  2103.  TN.101.CreateResFile & PMSP - CreateResFile checks to see if a resource 
  2104. file with a given name exists, and if it does, returns a dupFNErr (–48) 
  2105. error. Unfortunately, to do this check, CreateResFile uses a call that 
  2106. follows the Poor Man’s Search Path (PMSP).
  2107.  
  2108.  Name  =  TN.100.Large Screen Displays
  2109.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.100.Large Screen Displays
  2110.  Size:  4K         Date: 2/15/91         Version: 
  2111.  AMUG file information and description:
  2112.  TN.100.Large Screen Displays - A number of third-party developers have 
  2113. announced large-screen display peripherals for Macintosh. One of them, 
  2114. Radius Inc., has issued a set of guidelines for developers who wish to 
  2115. remain compatible with their Radius FPD; unfortunately, one of their 
  2116. recommendations can cause system crashes. This note suggests a more correct
  2117. approach.
  2118.  
  2119.  Name  =  TN.099.SF Bug in System 3.2
  2120.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.099.SF Bug in System 3.2
  2121.  Size:  3K         Date: 2/15/91         Version: 
  2122.  AMUG file information and description:
  2123.  TN.099.SF Bug in System 3.2 - This note formerly described a bug in 
  2124. Standard File in System 3.2. This bug has been fixed in more recent 
  2125. Systems.
  2126.  
  2127.  Name  =  TN.098.Short-Circuit Booleans
  2128.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.098.Short-Circuit Booleans
  2129.  Size:  3K         Date: 2/15/91         Version: 
  2130.  AMUG file information and description:
  2131.  TN.098.Short-Circuit Booleans - This note formerly described problems with 
  2132. the Lisa Pascal compiler. These problems have been fixed in the MPW Pascal 
  2133. compiler.
  2134.  
  2135.  Name  =  TN.097.PrSetError Problem
  2136.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.097.PrSetError Problem
  2137.  Size:  3K         Date: 2/15/91         Version: 
  2138.  AMUG file information and description:
  2139.  TN.097.PrSetError Problem - This note formerly described a problem in Lisa 
  2140. Pascal glue for the PrSetError routine. The glue in MPW (and most, if not 
  2141. all, third party compilers) does not have this problem.
  2142.  
  2143.  Name  =  TN.096.SCSI Bugs
  2144.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.096.SCSI Bugs
  2145.  Size: 14K         Date: 2/15/91         Version: 
  2146.  AMUG file information and description:
  2147.  TN.096.SCSI Bugs - There are a number of problems in the SCSI Manager; this
  2148. note lists the ones we know about, along with an explanation of what we’re 
  2149. doing about them. Changes made for the 2/88 release are made to more 
  2150. accurately reflect the state of the SCSI Manager. System 4.1 and 4.2 are 
  2151. very similar; one bug was fixed in System 4.2.
  2152.  
  2153.  Name  =  TN.095.Print Dialogs
  2154.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.095.Print Dialogs
  2155.  Size: 27K         Date: 2/15/91         Version: 
  2156.  AMUG file information and description:
  2157.  TN.095.Print Dialogs - This technical note discusses how to add your own 
  2158. items to the Printing Manager’s dialogs. When the Printing Manager was 
  2159. initially designed, great care was taken to make the interface to the 
  2160. printer drivers as generic as possible in order to allow applications to 
  2161. print without being device-specific.
  2162.  
  2163.  Name  =  TN.094.Tags
  2164.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.094.Tags
  2165.  Size:  4K         Date: 2/15/91         Version: 
  2166.  AMUG file information and description:
  2167.  TN.094.Tags - Apple has decided to eliminate support for file-system tags 
  2168. on its future products; this technical note explains this decision.
  2169. Some of Apple’s disk products (and some third-party products) have the 
  2170. ability to store 532 bytes per sector, instead of the normal 512. Twelve of
  2171. the extra bytes are used to store redundant file system information, known 
  2172. as “tags”, to be used by a scavenging utility to reconstruct damaged disks.
  2173.  
  2174.  Name  =  TN.093.MPW {$LOAD}
  2175.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.093.MPW {$LOAD}
  2176.  Size:  7K         Date: 2/15/91         Version: 
  2177.  AMUG file information and description:
  2178.  TN.093.MPW {$LOAD} - This technical note discusses the Pascal {$LOAD} 
  2179. directive as well as how to unload the _DataInit and %_MethTables 
  2180. segments.{$LOAD} MPW Pascal has a {$LOAD} directive that can dramatically 
  2181. speed up compiles.
  2182.  
  2183.  Name  =  TN.092.Appearance Of Text
  2184.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.092.Appearance Of Text
  2185.  Size:  7K         Date: 2/15/91         Version: 
  2186.  AMUG file information and description:
  2187.  TN.092.Appearance Of Text - This technical note describes why text doesn’t 
  2188. always look the way you expect depending on the environment you are in. 
  2189. There are a number of Macintosh text editing applications where layout is 
  2190. critical.  Unfortunately, text on a newer machine sometimes prints 
  2191. differently than text on a 64K ROM Macintosh. Let’s examine some 
  2192. differences you should expect and why.
  2193.  
  2194.  Name  =  TN.091.LW PicComments
  2195.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.091.LW PicComments
  2196.  Size: 33K         Date: 2/15/91         Version: 
  2197.  AMUG file information and description:
  2198.  TN.091.LW PicComments - This technical note is a continuation of Technical 
  2199. Note #72. This technical note discusses the picture comments that the 
  2200. LaserWriter driver recognizes. This technical note has been modified to 
  2201. include corrected descriptions of the SetLineWidth, PostScriptFile and 
  2202. ResourcePS comments and to include some additional warnings.
  2203.  
  2204.  Name  =  TN.090.SANE Incompatibilities
  2205.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.090.SANE Incompatibilities
  2206.  Size:  3K         Date: 2/15/91         Version: 
  2207.  AMUG file information and description:
  2208.  TN.090.SANE Incompatibilities - Earlier versions of this note described a 
  2209. problem with SANE and System 2.0. Use of System 2.0 is only recommended for
  2210. Macintosh 128 machines, which contain the 64K ROMs. Information specific to
  2211. 64K ROM machines has been deleted from Macintosh Technical Notes for 
  2212. reasons of clarity.
  2213.  
  2214.  Name  =  TN.089.DrawPicture Bug
  2215.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.089.DrawPicture Bug
  2216.  Size:  3K         Date: 2/15/91         Version: 
  2217.  AMUG file information and description:
  2218.  TN.089.DrawPicture Bug - Earlier versions of this note described a bug in 
  2219. DrawPicture. This bug never occurred on 64K ROM machines, and has been 
  2220. fixed in System 3.2 and newer. Use of Systems older than 3.2 on non-64K ROM
  2221. machines is no longer recommended.
  2222.  
  2223.  Name  =  TN.088.Signals
  2224.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.088.Signals
  2225.  Size: 14K         Date: 2/15/91         Version: 
  2226.  AMUG file information and description:
  2227.  TN.088.Signals - Signals are a form of intra-program interrupt which can 
  2228. greatly aid clean, inexpensive error trapping in stack frame intensive 
  2229. languages. A program may invoke the Signal procedure and immediately return
  2230. to the last invocation of CatchSignal, including the complete stack frame 
  2231. state at that point.
  2232.  
  2233.  Name  =  TN.087.Error in FCBPBRec
  2234.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.087.Error in FCBPBRec
  2235.  Size:  4K         Date: 2/15/91         Version: 
  2236.  AMUG file information and description:
  2237.  TN.087.Error in FCBPBRec - The declaration of a FCBPBRec is wrong in Inside
  2238. Macintosh Volume IV  and early versions of MPW. This has been fixed in MPW 
  2239. 1.0 and newer. An error was made in the declaration of an FCBPBRec 
  2240. parameter block that is used in PBGetFCBInfo calls.  The field ioFCBIndx 
  2241. was incorrectly listed as a LONGINT.  The following declaration (found in 
  2242. Inside Macintosh):
  2243.  
  2244.  Name  =  TN.086.MacPaint Document Format
  2245.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.086.MacPaint Document Format
  2246.  Size: 12K         Date: 2/15/91         Version: 
  2247.  AMUG file information and description:
  2248.  TN.086.MacPaint Document Format - This Technical Note describes the 
  2249. internal format of a MacPaint® document, which is a standard used by many 
  2250. other programs.  This description is the same as that found in the 
  2251. “Macintosh Miscellaneous” section of early Inside Macintosh versions.
  2252. Changes since October 1988:  Fixed bugs in the example code.
  2253.  
  2254.  Name  =  TN.085.GetNextEvent & Blinkin'
  2255.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.085.GetNextEvent & Blinkin'
  2256.  Size:  5K         Date: 2/15/91         Version: 
  2257.  AMUG file information and description:
  2258.  TN.085.GetNextEvent & Blinkin' - Wherein arcane mysteries are unraveled so 
  2259. you can make the Alarm Clock (or a similar desk accessory) blink the Apple 
  2260. menu at the appointed second. Also, why GetNextEvent is a good thing.
  2261.  
  2262.  Name  =  TN.084.Edit File Format
  2263.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.084.Edit File Format
  2264.  Size:  4K         Date: 2/15/91         Version: 
  2265.  AMUG file information and description:
  2266.  TN.084.Edit File Format - This technical note describes the format of the 
  2267. files created by Edit. It has been verified for versions 1.x and 2.0. Edit,
  2268. a text editor licensed by Apple and included in the Consulair 68000 
  2269. Development System, can read any text-only file whose file type is TEXT. 
  2270. Files created by Edit have a creator ID of EDIT. Edit is a disk-based 
  2271. editor so the file length is not limited by available memory. 
  2272.  
  2273.  Name  =  TN.083.System Heap Size
  2274.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.083.System Heap Size
  2275.  Size:  3K         Date: 2/15/91         Version: 
  2276.  AMUG file information and description:
  2277.  TN.083.System Heap Size - Earlier versions of this note pointed out that, 
  2278. due to varying system heap sizes, the application heap does not always 
  2279. start at $CB00. The start of the application heap has not been fixed for 
  2280. some time now; programs that depend on it never work on the Macintosh SE or
  2281. the Macintosh II.
  2282.  
  2283.  Name  =  TN.082.TextEdit
  2284.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.082.TextEdit
  2285.  Size:  5K         Date: 2/15/91         Version: 
  2286.  AMUG file information and description:
  2287.  TN.082.TextEdit - This technical note will point out some bugs (and 
  2288. possible workarounds), and other items of interest for the TextEdit 
  2289. programmer.
  2290.  
  2291.  Name  =  TN.081.Caching
  2292.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.081.Caching
  2293.  Size:  8K         Date: 2/15/91         Version: 
  2294.  AMUG file information and description:
  2295.  TN.081.Caching - This technical note describes disk and File System caching
  2296. on the Macintosh, with particular emphasis on the high-level File System 
  2297. cache. Of the three caches used for file I/O, this is the one which could 
  2298. have the most impact on your program. Note: This big File System cache is 
  2299. not available on 64K ROM machines.
  2300.  
  2301.  Name  =  TN.080.SF Tips
  2302.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.080.SF Tips
  2303.  Size:  5K         Date: 2/15/91         Version: 
  2304.  AMUG file information and description:
  2305.  TN.080.SF Tips - SFSaveDisk and CurDirStore. Low-memory location $214 
  2306. (SFSaveDisk—a word) contains –1* the vRefNum of the volume that SF is 
  2307. displaying (MFS and HFS). It never contains –1* a WDRefNum. Low-memory 
  2308. location $398 (CurDirStore—a long word) contains the dirID of the directory
  2309. that SF is displaying (HFS only). This information can be particularly 
  2310. useful at hook time, when the vRefNum field of the reply record has not yet
  2311. been filled in. 
  2312.  
  2313.  Name  =  TN.079._ZoomWindow
  2314.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.079._ZoomWindow
  2315.  Size: 11K         Date: 2/15/91         Version: 
  2316.  AMUG file information and description:
  2317.  TN.079._ZoomWindow - This Technical Note contains some hints about using 
  2318. _ZoomWindow. Changes since March 1988:  Added a discussion of and sample 
  2319. code to demonstrate recommended window zooming technique in multi-screen 
  2320. environments. Basics _ZoomWindow allows a window to be toggled between two 
  2321. states (where “state” means size and location):  a default state and a 
  2322. user-selectable state.  The default state stays the same unless the 
  2323. application changes it, while the user-selectable state is altered when the
  2324. user changes the size or location of a zoomable window.  The code to handle
  2325. zoomable windows in a main event loop would look something like the 
  2326. examples which follow.
  2327.  
  2328.  Name  =  TN.078.Resource Manager Tips
  2329.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.078.Resource Manager Tips
  2330.  Size:  5K         Date: 2/15/91         Version: 
  2331.  AMUG file information and description:
  2332.  TN.078.Resource Manager Tips - This note discusses some problems with the 
  2333. Resource Manager and how to work around them. OpenResFile Bug. This section
  2334. of the note formerly described a bug in OpenResFile on 64K ROM machines. 
  2335. Information specific to 64K ROM machines has been deleted from Macintosh 
  2336. Technical Notes for reasons of clarity.
  2337.  
  2338.  Name  =  TN.077.HFS Ruminations
  2339.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.077.HFS Ruminations
  2340.  Size: 14K         Date: 2/15/91         Version: 
  2341.  AMUG file information and description:
  2342.  TN.077.HFS Ruminations - This technical note contains some thoughts 
  2343. concerning HFS. HFS numbers. A drive number is a small positive word (e.g. 
  2344. 3). A VRefNum (as opposed to a WDRefNum) is a small negative word (e.g. 
  2345. $FFFE). A WDRefNum is a large negative word (e.g. $8033). A DirID is a long
  2346. word (e.g. 38). The root directory of an HFS volume always has a dirID of 
  2347. 2.
  2348.  
  2349.  Name  =  TN.076.Mac Plus Update Script
  2350.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.076.Mac Plus Update Script
  2351.  Size:  3K         Date: 2/15/91         Version: 
  2352.  AMUG file information and description:
  2353.  TN.076.Mac Plus Update Script - Earlier versions of this note described the
  2354. Macintosh Plus Update installation script, because it was the first script 
  2355. created for the Installer. Since then, many versions of this script have 
  2356. been created which no longer match what was described here. In addition, 
  2357. many other scripts now exist.
  2358.  
  2359.  Name  =  TN.074.Data In Resource Fork
  2360.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.074.Data In Resource Fork
  2361.  Size:  3K         Date: 2/15/91         Version: 
  2362.  AMUG file information and description:
  2363.  TN.074.Data In Resource Fork - Don’t use the resource fork of a file for 
  2364. non-resource data. Parts of the system (including the File Manager and the 
  2365. Finder) assume that if this fork exists, it will contain valid Resource 
  2366. Manager information. PBOpenRF was provided to allow copying of the resource
  2367. fork of a file in its entirety, without Resource Manager interpretation. Do
  2368. not use it to open “another data fork.”
  2369.  
  2370.  Name  =  TN.073.Color Printing
  2371.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.073.Color Printing
  2372.  Size:  9K         Date: 2/15/91         Version: 
  2373.  AMUG file information and description:
  2374.  TN.073.Color Printing - This discusses color printing in a Macintosh 
  2375. application. Whereas the original eight-color model of QuickDraw was 
  2376. sufficient for printing in color on the ImageWriter II, the introduction of
  2377. Color QuickDraw has created the need for more sophisticated printing 
  2378. methods.
  2379.  
  2380.  Name  =  TN.072.LW Optimizing Techniques
  2381.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.072.LW Optimizing Techniques
  2382.  Size: 12K         Date: 2/15/91         Version: 
  2383.  AMUG file information and description:
  2384.  TN.072.LW Optimizing Techniques - This Technical Note discusses techniques 
  2385. for optimizing code for printing on the LaserWriter. Changes since March 
  2386. 1988:  Updated the “Printable Paper Area” and “Memory Considerations” 
  2387. sections as well as the printer IDs, moved the error messages from the end 
  2388. of the Note to Technical Note #161, A Printing Loop That Cares…, and 
  2389. removed the “Spool-A-Page/Print-A-Page” section because Technical Note 
  2390. #125, Effect of Spool-A-Page/Print-A-Page on Shared Printers, already 
  2391. thoroughly covers this topic.
  2392.  
  2393.  Name  =  TN.071.Finding Drivers
  2394.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.071.Finding Drivers
  2395.  Size:  8K         Date: 2/15/91         Version: 
  2396.  AMUG file information and description:
  2397.  TN.071.Finding Drivers - This note will explain how code can be written to 
  2398. determine the reference number of a previously installed driver when only 
  2399. the name is known. Changes since 2/86: Since the driver can be purged and 
  2400. the DCE still be allocated, the code now tests for dCtlDriver being NIL as 
  2401. well.
  2402.  
  2403.  Name  =  TN.070.Single-Sided Disks
  2404.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.070.Single-Sided Disks
  2405.  Size:  5K         Date: 2/15/91         Version: 
  2406.  AMUG file information and description:
  2407.  TN.070.Single-Sided Disks - This document explains how to initialize a disk
  2408. as either single- or double- sided. It only applies to 800K drives, of 
  2409. course.
  2410.  
  2411.  Name  =  TN.069.PBGetCatInfo
  2412.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.069.PBGetCatInfo
  2413.  Size: 10K         Date: 2/15/91         Version: 
  2414.  AMUG file information and description:
  2415.  TN.069.PBGetCatInfo - This technical note describes how to set ioFDirIndex 
  2416. for PBGetCatInfo. The File Manager chapter of Inside Macintosh volume IV is
  2417. not very specific in describing how to use ioFDirIndex when calling 
  2418. PBGetCatInfo. It correctly says that ioFDirIndex should be positive if you 
  2419. are making indexed calls to PBGetCatInfo (analogous to making indexed calls
  2420. to PBGetVInfo as described in Technical Note #24). 
  2421.  
  2422.  Name  =  TN.068.Searching All Dirs
  2423.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.068.Searching All Dirs
  2424.  Size:  9K         Date: 2/15/91         Version: 
  2425.  AMUG file information and description:
  2426.  TN.068.Searching All Dirs - This Technical Note provides a simple algorithm
  2427. for searching all directories on an HFS volume. Changes since March 1, 
  2428. 1988:  Previously we stopped the whole search when we encountered any 
  2429. error, which caused trouble with privilege errors on AppleShare volumes.  
  2430. Now an error will only stop the enumeration of a particular catalog.
  2431.  
  2432.  Name  =  TN.067.Blessed Folder
  2433.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.067.Blessed Folder
  2434.  Size:  4K         Date: 2/15/91         Version: 
  2435.  AMUG file information and description:
  2436.  TN.067.Blessed Folder - This technical note describes how to determine 
  2437. which folder on an HFS volume is the blessed folder, that is, the folder 
  2438. that contains both the System file and the Finder.
  2439.  
  2440.  Name  =  TN.066.Which File System?
  2441.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.066.Which File System?
  2442.  Size:  6K         Date: 2/15/91         Version: 
  2443.  AMUG file information and description:
  2444.  TN.066.Which File System? - This Technical Note discusses how to determine 
  2445. which file system a particular volume is running. Changes since June 1990: 
  2446. Removed text about IDs $0001-$0016 being AppleShare volumes; other file 
  2447. systems use this range tooUnder certain circumstances it is necessary to 
  2448. determine which file system is currently running on a particular volume.  
  2449. For example, on a 64K ROM machine, your application (i.e., especially disk 
  2450. recovery utilities or disk editors, etc.) may need to check for MFS versus 
  2451. HFS.  Note that this is usually not necessary, because all ROMs, except the
  2452. original 64K ROMs, include HFS. You may need to check if a particular 
  2453. volume is in High Sierra, ISO 9660, or audio CD format.
  2454.  
  2455.  Name  =  TN.065.Mac Plus Pinouts
  2456.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.065.Mac Plus Pinouts
  2457.  Size:  8K         Date: 2/15/91         Version: 
  2458.  AMUG file information and description:
  2459.  TN.065.Mac Plus Pinouts - This note gives pinout descriptions for some of 
  2460. the Macintosh Plus ports and Macintosh Plus cables that are different than 
  2461. the Macintosh 128K and 512K. 
  2462.  
  2463.  Name  =  TN.064.IZANotify
  2464.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.064.IZANotify
  2465.  Size:  3K         Date: 2/15/91         Version: 
  2466.  AMUG file information and description:
  2467.  TN.064.IZANotify - Previous versions of this technical note recommended use
  2468. of a low memory hook called IAZNotify. We no longer recommend use of 
  2469. IAZNotify, since the IAZNotify hook is never called under MultiFinder.
  2470.  
  2471.  Name  =  TN.063.WriteResource Patch
  2472.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.063.WriteResource Patch
  2473.  Size:  3K         Date: 2/15/91         Version: 
  2474.  AMUG file information and description:
  2475.  TN.063.WriteResource Patch - This note formerly contained a patch to fix a 
  2476. bug in WriteResource on 64K ROM machines. Information specific to 64K ROM 
  2477. machines has been deleted from Macintosh Technical Notes for reasons of 
  2478. clarity.
  2479.  
  2480.  Name  =  TN.062.Resource Header
  2481.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.062.Resource Header
  2482.  Size:  3K         Date: 2/15/91         Version: 
  2483.  AMUG file information and description:
  2484.  TN.062.Resource Header - The section of the Resource Manager chapter of 
  2485. Inside Macintosh which describes the internal format of a resource file 
  2486. shows an area of the resource header labeled “available for application 
  2487. data.” You should not use this area—it is used by the Resource Manager.
  2488.  
  2489.  Name  =  TN.061.GetItemStyle Bug
  2490.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.061.GetItemStyle Bug
  2491.  Size:  3K         Date: 2/15/91         Version: 
  2492.  AMUG file information and description:
  2493.  TN.061.GetItemStyle Bug - This note formerly described a bug (in 
  2494. GetItemStyle) which occurs only on 64K ROM machines. Information specific 
  2495. to 64K ROM machines has been deleted from Macintosh Technical Notes for 
  2496. reasons of clarity.
  2497.  
  2498.  Name  =  TN.060.Narrow GrafPorts
  2499.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.060.Narrow GrafPorts
  2500.  Size:  3K         Date: 2/15/91         Version: 
  2501.  AMUG file information and description:
  2502.  TN.060.Narrow GrafPorts - When you draw a character into a GrafPort, your 
  2503. program will die with an address error if the width of the GrafPort is 
  2504. smaller than the width of the character. If you check before drawing the 
  2505. character to see if the GrafPort is wide enough, you can avoid this 
  2506. unfortunate tragedy.
  2507.  
  2508.  Name  =  TN.059.Pictures & Clip Regions
  2509.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.059.Pictures & Clip Regions
  2510.  Size:  4K         Date: 2/15/91         Version: 
  2511.  AMUG file information and description:
  2512.  TN.059.Pictures & Clip Regions - This note describes a problem that affects
  2513. creation of QuickDraw pictures. When a GrafPort is created, the fields in 
  2514. the GrafPort are given default values; one of these is the clip region, 
  2515. which is set to the rectangle (–32767, –32767, 32767, 32767). If you create
  2516. a picture, then call DrawPicture with a destination rectangle that is not 
  2517. the same size as the picFrame without ever changing the default clip 
  2518. region, nothing will be drawn.
  2519.  
  2520.  Name  =  TN.058.IU Bug
  2521.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.058.IU Bug
  2522.  Size:  3K         Date: 2/15/91         Version: 
  2523.  AMUG file information and description:
  2524.  TN.058.IU Bug - This note formerly described a bug in System 2.0, which is 
  2525. now recommended only for use with 64K ROM machines. Information specific to
  2526. 64K ROM machines has been deleted from Macintosh Technical Notes for 
  2527. reasons of clarity.
  2528.  
  2529.  Name  =  TN.057.Macintosh Plus
  2530.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.057.Macintosh Plus
  2531.  Size:  3K         Date: 2/15/91         Version: 
  2532.  AMUG file information and description:
  2533.  TN.057.Macintosh Plus - This note was originally meant as interim Macintosh
  2534. Plus documentation and has been replaced by Inside Macintosh Volume IV, 
  2535. which is more complete and more accurate.
  2536.  
  2537.  Name  =  TN.056.Break/CTS
  2538.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.056.Break/CTS
  2539.  Size:  4K         Date: 2/15/91         Version: 
  2540.  AMUG file information and description:
  2541.  TN.056.Break/CTS - This technical note documents the event record 
  2542. information that gets passed when the serial driver posts an event for a 
  2543. break/CTS status change.
  2544.  
  2545.  Name  =  TN.055.Drawing Icons
  2546.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.055.Drawing Icons
  2547.  Size: 11K         Date: 2/15/91         Version: 
  2548.  AMUG file information and description:
  2549.  TN.055.Drawing Icons - Using resources of type ICON allows drawing of icons
  2550. in srcOr mode.  Using resources of type ICN# allows for more variety when 
  2551. drawing icons.
  2552.  
  2553.  Name  =  TN.054.Limit to Resource Size
  2554.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.054.Limit to Resource Size
  2555.  Size:  3K         Date: 2/15/91         Version: 
  2556.  AMUG file information and description:
  2557.  TN.054.Limit to Resource Size - This note formerly described a bug in 
  2558. WriteResource on 64K ROM machines. Information specific to 64K ROM machines
  2559. has been deleted from Macintosh Technical Notes for reasons of clarity.
  2560.  
  2561.  Name  =  TN.053.MoreMasters Revisited
  2562.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.053.MoreMasters Revisited
  2563.  Size:  7K         Date: 2/15/91         Version: 
  2564.  AMUG file information and description:
  2565.  TN.053.MoreMasters Revisited - MoreMasters should be called from CODE 
  2566. segment 1. The number of master pointers that a program needs can be 
  2567. determined empirically. MoreMasters can be tricked into creating the exact 
  2568. number of master pointers desired.
  2569.  
  2570.  Name  =  TN.052._Launch from High-Level
  2571.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.052._Launch from High-Level
  2572.  Size:  3K         Date: 2/15/91         Version: 
  2573.  AMUG file information and description:
  2574.  TN.052._Launch from High-Level - This Technical Note formerly discussed 
  2575. calling _Launch from a high-level language which allows inline assembly 
  2576. code. Changes since March 1988:  Merged contents into Technical Note #126.
  2577.  
  2578.  Name  =  TN.051.Debugging w/PurgeMem
  2579.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.051.Debugging w/PurgeMem
  2580.  Size:  4K         Date: 2/15/91         Version: 
  2581.  AMUG file information and description:
  2582.  TN.051.Debugging w/PurgeMem - If you are having problems finding bugs like 
  2583. handles that aren’t locked down when they should be, or resources that 
  2584. aren’t there when they’re supposed to be, there is a handy technique for 
  2585. forcing these problems to the surface. 
  2586.  
  2587.  Name  =  TN.050.Calling SetResLoad
  2588.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.050.Calling SetResLoad
  2589.  Size:  3K         Date: 2/15/91         Version: 
  2590.  AMUG file information and description:
  2591.  TN.050.Calling SetResLoad - Calling SetResLoad(FALSE) can be useful if you 
  2592. need to get a handle to a resource, without causing the resource to be 
  2593. loaded from disk if it isn’t already in memory. This technique is used in 
  2594. Technical Note #1. SetResLoad changes the value of the low-memory global 
  2595. ResLoad (at location $A5E).
  2596.  
  2597.  Name  =  TN.048.Bundles
  2598.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.048.Bundles
  2599.  Size:  8K         Date: 2/15/91         Version: 
  2600.  AMUG file information and description:
  2601.  TN.048.Bundles - This note describes what a bundle is and how to create 
  2602. one. A bundle is a collection of resources. Bundles can be used for a 
  2603. number of different purposes, and are currently used by the Finder ito tie 
  2604. an icon to a file type, allowing your application or data file to have its 
  2605. own icon.
  2606.  
  2607.  Name  =  TN.047.Standard File
  2608.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.047.Standard File
  2609.  Size: 24K         Date: 2/15/91         Version: 
  2610.  AMUG file information and description:
  2611.  TN.047.Standard File - This note contains an example program that 
  2612. demonstrates how SFPGetFile can be customized using the dialog hook and 
  2613. file filter functions.
  2614.  
  2615.  Name  =  TN.046.Separate Resource Files
  2616.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.046.Separate Resource Files
  2617.  Size:  4K         Date: 2/15/91         Version: 
  2618.  AMUG file information and description:
  2619.  TN.046.Separate Resource Files - During application development, you use a 
  2620. resource compiler (RMaker or Rez) to convert a resource definition file 
  2621. into an executable application. You rarely change anything but your CODE 
  2622. resources during development, and the resource compiler spends a lot of 
  2623. time compiling other resources which have not changed since they were 
  2624. originally created.
  2625.  
  2626.  Name  =  TN.045.ROM
  2627.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.045.ROM
  2628.  Size:  3K         Date: 2/15/91         Version: 
  2629.  AMUG file information and description:
  2630.  TN.045.ROM - This note formerly listed the traps from Inside Macintosh 
  2631. Volumes I-III. Better references are now available elsewhere.
  2632.  
  2633.  Name  =  TN.044.HFS Compatibility
  2634.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.044.HFS Compatibility
  2635.  Size:  6K         Date: 2/15/91         Version: 
  2636.  AMUG file information and description:
  2637.  TN.044.HFS Compatibility - This technical note tells you how to make sure 
  2638. that your applications run under the Hierarchical File System (HFS).
  2639.  
  2640.  Name  =  TN.043.Calling LoadSeg
  2641.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.043.Calling LoadSeg
  2642.  Size:  3K         Date: 2/15/91         Version: 
  2643.  AMUG file information and description:
  2644.  TN.043.Calling LoadSeg - Earlier versions of this note described a way to 
  2645. call the LoadSeg trap, which is used internally by the Segment Loader. We 
  2646. no longer recommend calling LoadSeg directly.
  2647.  
  2648.  Name  =  TN.042.Pascal Routine Pointers
  2649.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.042.Pascal Routine Pointers
  2650.  Size:  4K         Date: 2/15/91         Version: 
  2651.  AMUG file information and description:
  2652.  TN.042.Pascal Routine Pointers - Routines passed by pointer are used in 
  2653. many places in conjunction with Macintosh system routines. For example, 
  2654. filter procedures for modal dialogs are passed by pointer, as are controls’
  2655. action procedures (when calling TrackControl), and I/O completion routines.
  2656.  
  2657.  Name  =  TN.041.Off-Screen Bitmaps
  2658.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.041.Off-Screen Bitmaps
  2659.  Size: 12K         Date: 2/15/91         Version: 
  2660.  AMUG file information and description:
  2661.  TN.041.Off-Screen Bitmaps - This Technical Note provides an example of 
  2662. creating an off-screen bitmap, drawing to it, and then copying from it to 
  2663. the screen. Changes since April 1990:  Clarified the section on window 
  2664. updates with off-screen bitmaps to explicitly limit these updates to your 
  2665. own windows.
  2666.  
  2667.  Name  =  TN.040.Finder Flags
  2668.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.040.Finder Flags
  2669.  Size:  4K         Date: 2/15/91         Version: 
  2670.  AMUG file information and description:
  2671.  TN.040.Finder Flags - This revision corrects the meanings of bits 6 and 7, 
  2672. which were interchanged in the older version of this technical note. 
  2673. ResEdit uses these bits incorrectly in versions older than 1.2.
  2674.  
  2675.  Name  =  TN.039.Segment Loader Patch
  2676.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.039.Segment Loader Patch
  2677.  Size:  3K         Date: 2/15/91         Version: 
  2678.  AMUG file information and description:
  2679.  TN.039.Segment Loader Patch - This note formerly described a patch to the 
  2680. Segment Loader for 64K ROM machines. Information specific to 64K ROM 
  2681. machines has been deleted from Macintosh Technical Notes for reasons of 
  2682. clarity.
  2683.  
  2684.  Name  =  TN.038.ROM Debugger
  2685.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.038.ROM Debugger
  2686.  Size:  5K         Date: 2/15/91         Version: 
  2687.  AMUG file information and description:
  2688.  TN.038.ROM Debugger - The debugger in ROM (not present on the Macintosh 
  2689. 128, Macintosh 512, or Macintosh XL) recognizes the following commands: PC 
  2690. [expr]   (program counter)Typing PC on a line by itself displays the 
  2691. program counter. Typing PC 50000 sets the program counter to $50000.
  2692. SM [address [number(s)]]   (set memory) Typing SM on a line by itself 
  2693. displays the next 96 bytes of memory. Typing SM 50000 will display memory 
  2694. starting at $50000. Typing SM 50000 4849 2054 6865 7265 2120 will set 
  2695. memory starting at $50000 to $4849… Subsequently hitting Return will 
  2696. increment the display a screen at a time.
  2697.  
  2698.  Name  =  TN.037.Logic Boards
  2699.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.037.Logic Boards
  2700.  Size:  3K         Date: 2/15/91         Version: 
  2701.  AMUG file information and description:
  2702.  TN.037.Logic Boards - Earlier versions of this note are obsoleted by 
  2703. existence of SysEnvirons, which is documented in Technical Note #129.
  2704.  
  2705.  Name  =  TN.036.Drive Queue Elements
  2706.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.036.Drive Queue Elements
  2707.  Size:  8K         Date: 2/15/91         Version: 
  2708.  AMUG file information and description:
  2709.  TN.036.Drive Queue Elements - This note expands on Inside Macintosh’s 
  2710. definition of the drive queue, which is given in the File Manager chapter.
  2711.  
  2712.  Name  =  TN.035.DrawPicture Problem
  2713.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.035.DrawPicture Problem
  2714.  Size:  3K         Date: 2/15/91         Version: 
  2715.  AMUG file information and description:
  2716.  TN.035.DrawPicture Problem - This note formerly described a problem with 
  2717. DrawPicture that occurred only on 64K ROM machines. Information specific to
  2718. 64K ROM machines has been deleted from Macintosh Technical Notes for 
  2719. reasons of clarity.
  2720.  
  2721.  Name  =  TN.034.User Items in Dialogs
  2722.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.034.User Items in Dialogs
  2723.  Size: 10K         Date: 2/15/91         Version: 
  2724.  AMUG file information and description:
  2725.  TN.034.User Items in Dialogs - The Dialog Manager does not go into detail 
  2726. about how to manage user items in dialogs; this Technical Note describes 
  2727. the process. Changes since March 1, 1988:  Added MPW C 3.0 code, added a 
  2728. _SetPort call to the Pascal example, and noted the necessity and meaning of
  2729. enabled items.
  2730.  
  2731.  Name  =  TN.033.IW II Paper Motion
  2732.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.033.IW II Paper Motion
  2733.  Size:  4K         Date: 2/15/91         Version: 
  2734.  AMUG file information and description:
  2735.  TN.033.IW II Paper Motion - The purpose of this technical note is to answer
  2736. the many questions asked about why the paper moves the way it does on the 
  2737. ImageWriter II.
  2738.  
  2739.  Name  =  TN.032.Reserved Types
  2740.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.032.Reserved Types
  2741.  Size:  3K         Date: 2/15/91         Version: 
  2742.  AMUG file information and description:
  2743.  TN.032.Reserved Types - Your applications and desk accessories can create 
  2744. their own resource types. To avoid using type names which have been or will
  2745. be used in the system, Apple has reserved all resource type names which 
  2746. consist entirely of spaces ($20), lower-case letters ($61 through $7A), and
  2747. “international” characters (greater than $7F).
  2748.  
  2749.  Name  =  TN.030.Font Height Tables
  2750.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.030.Font Height Tables
  2751.  Size:  4K         Date: 2/15/91         Version: 
  2752.  AMUG file information and description:
  2753.  TN.030.Font Height Tables - This technical note describes how the Font 
  2754. Manager (except in 64K ROMs) calculates height tables for fonts and how you
  2755. can force recalculation.
  2756.  
  2757.  Name  =  TN.029.Desktop File
  2758.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.029.Desktop File
  2759.  Size:  6K         Date: 2/15/91         Version: 
  2760.  AMUG file information and description:
  2761.  TN.029.Desktop File - This technical note describes the resources found in 
  2762. the Desktop file. Note: Don’t base anything critical on the format of the 
  2763. Desktop file. AppleShare already uses another scheme; AppleShare volumes 
  2764. don’t have Desktop files. The format of this file can, and probably will, 
  2765. change in the future.
  2766.  
  2767.  Name  =  TN.028.Finders & Drives
  2768.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.028.Finders & Drives
  2769.  Size:  5K         Date: 2/15/91         Version: 
  2770.  AMUG file information and description:
  2771.  TN.028.Finders & Drives - This technical note describes the differences in 
  2772. the way the 1.1g, 4.1, 5.0 and newer Finders communicate with foreign 
  2773. (non-Sony) disk drives.
  2774.  
  2775.  Name  =  TN.027.MacDraw’s PICT Format
  2776.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.027.MacDraw’s PICT Format
  2777.  Size:  4K         Date: 2/15/91         Version: 
  2778.  AMUG file information and description:
  2779.  TN.027.MacDraw’s PICT Format - This Technical Note formerly described the 
  2780. PICT file format used by MacDraw® and the picture comments the MacDraw used
  2781. to communicate with the LaserWriter driver. Changes since March 1988:  
  2782. Updated the Claris address.
  2783.  
  2784.  Name  =  TN.026.Text Widths
  2785.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.026.Text Widths
  2786.  Size:  5K         Date: 2/15/91         Version: 
  2787.  AMUG file information and description:
  2788.  TN.026.Text Widths - This technical note discusses the fact that the width 
  2789. of a string is not always the same as the sum of the widths of all the 
  2790. characters in the string, due to roundoff error.
  2791.  
  2792.  Name  =  TN.025.A5 & Patching Traps
  2793.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.025.A5 & Patching Traps
  2794.  Size:  4K         Date: 2/15/91         Version: 
  2795.  AMUG file information and description:
  2796.  TN.025.A5 & Patching Traps - Future software may allow desk accessories to 
  2797. have their own globals by changing register A5 when the accessory is 
  2798. entered and exited. This can cause problems for applications that patch 
  2799. traps without following certain rules.
  2800.  
  2801.  Name  =  TN.024.Available Volumes
  2802.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.024.Available Volumes
  2803.  Size:  5K         Date: 2/15/91         Version: 
  2804.  AMUG file information and description:
  2805.  TN.024.Available Volumes - Standard File lets the user select one file from
  2806. any available volume; it is sometimes necessary for an application to find 
  2807. which volumes are present. This technical note gives the proper method of 
  2808. accomplishing this.
  2809.  
  2810.  Name  =  TN.023.Font/DA Mover
  2811.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.023.Font/DA Mover
  2812.  Size:  5K         Date: 2/15/91         Version: 
  2813.  AMUG file information and description:
  2814.  TN.023.Font/DA Mover - This technical note describes how to make sure that 
  2815. your desk accessory will work after being moved by Font/Desk Accessory 
  2816. Mover.
  2817.  
  2818.  Name  =  TN.022.TEScroll Bug
  2819.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.022.TEScroll Bug
  2820.  Size:  3K         Date: 2/15/91         Version: 
  2821.  AMUG file information and description:
  2822.  TN.022.TEScroll Bug - A bug in TextEdit causes the following problem: a 
  2823. call to TEScroll with no horizontal or vertical displacement (that is, both
  2824. dh and dv set to zero) results in disappearance of the insertion point. 
  2825. Since such calls do nothing, they should be avoided.
  2826.  
  2827.  Name  =  TN.021.Picture Opcodes
  2828.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.021.Picture Opcodes
  2829.  Size: 13K         Date: 2/15/91         Version: 
  2830.  AMUG file information and description:
  2831.  TN.021.Picture Opcodes - This technical note describes the internal format 
  2832. of the QuickDraw picture data structure. This revision corrects some errors
  2833. in the opcode descriptions and provides some examples.
  2834.  
  2835.  Name  =  TN.020.Server
  2836.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.020.Server
  2837.  Size: 10K         Date: 2/15/91         Version: 
  2838.  AMUG file information and description:
  2839.  TN.020.Server - Many applications could benefit from the ability to share 
  2840. common data between several Macintoshes, without requiring a file server. 
  2841. This technical note discusses one technique for managing this AppleTalk 
  2842. communication.
  2843.  
  2844.  Name  =  TN.019.Clickless Sound
  2845.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.019.Clickless Sound
  2846.  Size:  4K         Date: 2/15/91         Version: 
  2847.  AMUG file information and description:
  2848.  TN.019.Clickless Sound - Apple currently discourages use of the Sound 
  2849. Driver due to compatibility issues.  The hardware support for sound 
  2850. designed into the early Macintosh architecture was minimal.  (Many things 
  2851. have changed since 1983–1984.)  The new Macintosh computers contain a 
  2852. custom chip to provide better support for sound, namely the Apple Sound 
  2853. Chip (ASC).  The ASC is present in the complete Macintosh II family as well
  2854. as the Macintosh SE/30 and later machines. 
  2855.  
  2856.  Name  =  TN.018.TextEdit Conversion
  2857.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.018.TextEdit Conversion
  2858.  Size:  4K         Date: 2/15/91         Version: 
  2859.  AMUG file information and description:
  2860.  TN.018.TextEdit Conversion - Text sometimes must be converted between a 
  2861. Pascal string and “pure” text in a handle. This note illustrates a way to 
  2862. do this using MPW Pascal. Text contained in TextEdit records sometimes must
  2863. be passed to routines which expect a Pascal string of type Str255 (a length
  2864. byte followed by up to 255 characters). 
  2865.  
  2866.  Name  =  TN.017.Low-Level Print Driver
  2867.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.017.Low-Level Print Driver
  2868.  Size:  3K         Date: 2/15/91         Version: 
  2869.  AMUG file information and description:
  2870.  TN.017.Low-Level Print Driver - This technical note has been replaced by 
  2871. information in Inside Macintosh Volume V. Please refer to the Print Manager
  2872. chapter of Inside Macintosh Volume V for information on low-level print 
  2873. driver calls.
  2874.  
  2875.  Name  =  TN.016.MacWorks XL
  2876.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.016.MacWorks XL
  2877.  Size:  3K         Date: 2/15/91         Version: 
  2878.  AMUG file information and description:
  2879.  TN.016.MacWorks XL - Earlier versions of this note described MacWorks XL, 
  2880. the system software that allowed you to use Macintosh applications on the 
  2881. Macintosh XL. Information specific to Macintosh XL machines has been 
  2882. deleted from Macintosh Technical Notes for reasons of clarity.
  2883.  
  2884.  Name  =  TN.015.Finder 4.1
  2885.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.015.Finder 4.1
  2886.  Size:  3K         Date: 2/15/91         Version: 
  2887.  AMUG file information and description:
  2888.  TN.015.Finder 4.1 - This note formerly described Finder 4.1, which is now 
  2889. recommended only for use with 64K ROM machines. Information specific to 64K
  2890. ROM machines has been deleted from Macintosh Technical Notes for reasons of
  2891. clarity.
  2892.  
  2893.  Name  =  TN.014.INIT 31
  2894.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.014.INIT 31
  2895.  Size:  3K         Date: 2/15/91         Version: 
  2896.  AMUG file information and description:
  2897.  TN.014.INIT 31 - This note formerly described things that are now covered 
  2898. in the System Resource File chapter of Inside Macintosh Volume IV and the 
  2899. Start Manager chapter of Inside Macintosh Volume V. Please refer to Inside 
  2900. Macintosh.
  2901.  
  2902.  Name  =  TN.013.MW Clipboard Format
  2903.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.013.MW Clipboard Format
  2904.  Size:  3K         Date: 2/15/91         Version: 
  2905.  AMUG file information and description:
  2906.  TN.013.MW Clipboard Format - This Technical Note formerly described the 
  2907. clipboard format used by MacWrite®, which is now published by Claris.
  2908. Changes since March 1988:  Updated the Claris address.
  2909.  
  2910.  Name  =  TN.012.Disk-Based MW Format
  2911.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.012.Disk-Based MW Format
  2912.  Size:  3K         Date: 2/15/91         Version: 
  2913.  AMUG file information and description:
  2914.  TN.012.Disk-Based MW Format - This Technical Note formerly described the 
  2915. format of files created by MacWrite®, which is now published by Claris.
  2916. Changes since March 1988:  Updated the Claris address.
  2917.  
  2918.  Name  =  TN.011.Memory-Based MW Format
  2919.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.011.Memory-Based MW Format
  2920.  Size:  3K         Date: 2/15/91         Version: 
  2921.  AMUG file information and description:
  2922.  TN.011.Memory-Based MW Format - This Technical Note formerly described the 
  2923. format of files created by MacWrite® 2.2. Changes since March 1988:  
  2924. Updated the Claris address.
  2925.  
  2926.  Name  =  TN.010.Pinouts
  2927.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.010.Pinouts
  2928.  Size: 11K         Date: 2/15/91         Version: 
  2929.  AMUG file information and description:
  2930.  TN.010.Pinouts - This note gives pinouts for Macintosh ports, cables, and 
  2931. other products. Inside are pinout descriptions for the Macintosh ports, 
  2932. cables, and various other products. Please refer to the Hardware chapter of
  2933. Inside Macintosh and the Macintosh Hardware Reference Manual for more 
  2934. information, especially about power limits. Note that unconnected pins are 
  2935. omitted.
  2936.  
  2937.  Name  =  TN.009.Internets
  2938.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.009.Internets
  2939.  Size:  6K         Date: 2/15/91         Version: 
  2940.  AMUG file information and description:
  2941.  TN.009.Internets - Individual AppleTalk networks can be connected together 
  2942. as internets. It’s important that your application work across internets; 
  2943. this note contains information on the differences between life on a single 
  2944. AppleTalk, and life on an internet. You can read about internets (AppleTalk
  2945. networks connected by one or more bridges) in Inside AppleTalk. What do you
  2946. need to do about them?
  2947.  
  2948.  Name  =  TN.008.ABPasIntf Bug
  2949.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.008.ABPasIntf Bug
  2950.  Size:  3K         Date: 2/15/91         Version: 
  2951.  AMUG file information and description:
  2952.  TN.008.ABPasIntf Bug - Previous versions of this note described a bug in 
  2953. the AppleTalk Pascal Interfaces. This bug was fixed in MPW 1.0 and newer.
  2954.  
  2955.  Name  =  TN.007.Debugging Tips
  2956.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.007.Debugging Tips
  2957.  Size:  6K         Date: 2/15/91         Version: 
  2958.  AMUG file information and description:
  2959.  TN.007.Debugging Tips - This presents a few tips which may make your 
  2960. debugging easier. Setting memory location 0 to something odd Dereferencing 
  2961. nil handles can cause real problems for an application. If location 0 (nil)
  2962. is something even, the dereference will not cause an address error, and the
  2963. application can run on for quite a while, making tracing back to the 
  2964. problem quite difficult. If location 0 contains something odd, such as 
  2965. $50FFC001, an address error will be generated immediately when a nil handle
  2966. is dereferenced. 
  2967.  
  2968.  Name  =  TN.006.Owned Resources
  2969.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.006.Owned Resources
  2970.  Size:  4K         Date: 2/15/91         Version: 
  2971.  AMUG file information and description:
  2972.  TN.006.Owned Resources - To allow the Font/DA Mover to renumber desk 
  2973. accessories as needed when moving them between system files, desk 
  2974. accessories should use the “owned resource” protocol described in the 
  2975. Resource Manager chapter of Inside Macintosh Volume I.
  2976.  
  2977.  Name  =  TN.005.Dialogs from DAs
  2978.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.005.Dialogs from DAs
  2979.  Size:  4K         Date: 2/15/91         Version: 
  2980.  AMUG file information and description:
  2981.  TN.005.Dialogs from DAs - When a desk accessory creates a window (including
  2982. a modeless dialog window) it must set the windowKind to its refnum—a 
  2983. negative number. When the application calls GetNextEvent, the Event Manager
  2984. calls SystemEvent, which checks to see if the event belongs to a desk 
  2985. accessory. SystemEvent checks the windowKind of the frontmost window, and 
  2986. uses the (negative) number for the refnum to make a control call, giving 
  2987. the desk accessory a shot at the event. Then SystemEvent returns TRUE, and 
  2988. GetNextEvent returns FALSE.
  2989.  
  2990.  Name  =  TN.004.GetNewDialog
  2991.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.004.GetNewDialog
  2992.  Size:  4K         Date: 2/15/91         Version: 
  2993.  AMUG file information and description:
  2994.  TN.004.GetNewDialog - When calling GetNewDialog to retrieve a dialog 
  2995. template from a previously opened resource file, how are error conditions 
  2996. indicated to the caller? Unfortunately, they aren’t. The Dialog Manager 
  2997. calls GetResource and assumes the returned value is good. Since the Dialog 
  2998. Manager doesn’t check, you have two choices. Your first choice is to call 
  2999. GetResource for the dialog template, item list, and any resources needed by
  3000. items in the item list yourself. But what do you do when you find the 
  3001. resources aren’t there? 
  3002.  
  3003.  Name  =  TN.003.Command-Shift Keys
  3004.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.003.Command-Shift Keys
  3005.  Size:  4K         Date: 2/15/91         Version: 
  3006.  AMUG file information and description:
  3007.  TN.003.Command-Shift Keys - In the standard system, there are two 
  3008. Command-Shift-number key combinations that are automatically captured and 
  3009. processed by GetNextEvent. The combinations are: Command-Shift-1 Eject 
  3010. internal disk Command-Shift-2 Eject external disk. Numbers from 3 to 9 are 
  3011. also captured by GetNextEvent, but are processed by calling ‘FKEY’ 
  3012. resources. You can implement your own actions for Command-Shift-number 
  3013. combinations for numbers 5 to 9 by defining your own ‘FKEY’ resource.
  3014.  
  3015.  Name  =  TN.002.Compatibility
  3016.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.002.Compatibility
  3017.  Size: 10K         Date: 2/15/91         Version: 
  3018.  AMUG file information and description:
  3019.  TN.002.Compatibility - Apple has many enhancements planned for the 
  3020. Macintosh family of computers. To help ensure your software’s compatibility
  3021. with these enhancements, check each item in this note to be sure that 
  3022. you’re following the recommendations. If your software is written in a 
  3023. high-level language like Pascal or C and if you adhere to the guidelines 
  3024. listed in Inside Macintosh, many of the questions in this note won’t 
  3025. concern you. If you develop in assembly language, you should read each 
  3026. question carefully.
  3027.  
  3028.  Name  =  TN.001.System Resources
  3029.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.001.System Resources
  3030.  Size:  3K         Date: 2/15/91         Version: 
  3031.  AMUG file information and description:
  3032.  This note formerly described a strategy for dealing with system resources 
  3033. from desk accessories. We no longer recommend calling ReleaseResource or 
  3034. DetachResource for a system resource. When you are done with a system 
  3035. resource, leave it alone; do not try to dispose or release it.
  3036.  
  3037.  Name  =  Sound Manager chapter (IM).dd
  3038.  Path =  AMUG CD:Files:MacTechNotes:Sound Manager chapter (IM).dd
  3039.  Size: 80K         Date: 2/15/91         Version: 
  3040.  AMUG file information and description:
  3041.  Sound Manager chapter (IM).dd contains specialized information on the 
  3042. Macintosh Sound Manager.
  3043.  
  3044.  Name  =  Human Interface Notes.dd
  3045.  Path =  AMUG CD:Files:MacTechNotes:Human Interface Notes.dd
  3046.  Size: 28K         Date: 2/15/91         Version: 
  3047.  AMUG file information and description:
  3048.  Human Interface Notes.dd are the Human Interface Tech Notes from Apple 
  3049. Computer.
  3050.  
  3051.  Name  =  Fonts (Old Format).dd
  3052.  Path =  AMUG CD:Files:MacTechNotes:Fonts (Old Format).dd
  3053.  Size: 26K         Date: 2/15/91         Version: 
  3054.  AMUG file information and description:
  3055.  Fonts (Old Format).dd contains old style formated fonts for displaying Tech
  3056. Notes in this section.
  3057.  
  3058.  Name  =  Fonts (New Format).dd
  3059.  Path =  AMUG CD:Files:MacTechNotes:Fonts (New Format).dd
  3060.  Size: 32K         Date: 2/15/91         Version: 
  3061.  AMUG file information and description:
  3062.  Fonts (New Format).dd contains new formated fonts for displaying Tech Notes
  3063. in this section.
  3064.  
  3065.  Name  =  0 About Mac TNs 04.91.cpt
  3066.  Path =  AMUG CD:Files:MacTechNotes:0 About Mac TNs 04.91.cpt
  3067.  Size: 24K         Date: 2/15/91         Version: 
  3068.  AMUG file information and description:
  3069.  0 About Mac TNs 4.91 - contains an index to the 4-91 Tech notes.
  3070.  
  3071.